aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/writer.js
AgeCommit message (Collapse)Author
2014-02-16chore(doc-gen): new docsPeter Bacon Darwin
chore(doc-gen): implement dgeni
2013-12-13docs: use q-io instead of deprecated q-fsVojta Jina
This recursive process.nextTick error[1] was probably coming from q-fs, which is not actively maintained. This updates to q-io/fs instead. [1]: https://travis-ci.org/angular/angular.js/jobs/15391590
2013-07-16fix(writer): fix makeDir directory tree bugKen Sheedlo
2013-06-25fix(doc-gen): correctly transform index filesPete Bacon Darwin
Closes #3021
2013-06-12chore(docs/writer): fix Windows path incompatibilitiesPete Bacon Darwin
NodeJS on Windows uses back slashes for path separators. This difference can be mitigated by use of the nodeJS path library. In particular the `sep` property and the `dirname()`, `normalize()` and `join()` methods of this library. All path based arguments on exported functions need to be normalized and `join` and `sep` must be used instead of string manipulation to work with paths.
2013-06-06chore(ngdocs): setup bower as the package manager for the docs pagesMatias Niemelä
2013-03-05chore(Grunt): switch from Rake to GruntDave Geddes
Migrates the Angular project from Rake to Grunt. Benefits: - Drops Ruby dependency - Lowers barrier to entry for contributions from JavaScript ninjas - Simplifies the Angular project setup and build process - Adopts industry-standard tools specific to JavaScript projects - Support building angular.js on Windows platform (really?!? why?!?) BREAKING CHANGE: Rake is completely replaced by Grunt. Below are the deprecated Rake tasks and their Grunt equivalents: rake --> grunt rake package --> grunt package rake init --> N/A rake clean --> grunt clean rake concat_scenario --> grunt build:scenario rake concat --> grunt build rake concat_scenario --> grunt build:scenario rake minify --> grunt minify rake version --> grunt write:version rake docs --> grunt docs rake webserver --> grunt webserver rake test --> grunt test rake test:unit --> grunt test:unit rake test:<jqlite|jquery|modules|e2e> --> grunt test:<jqlite|jquery|modules|end2end|e2e> rake test[Firefox+Safari] --> grunt test --browsers Firefox,Safari rake test[Safari] --> grunt test --browsers Safari rake autotest --> grunt autotest NOTES: * For convenience grunt test:e2e starts a webserver for you, while grunt test:end2end doesn't. Use grunt test:end2end if you already have the webserver running. * Removes duplicate entry for Describe.js in the angularScenario section of angularFiles.js * Updates docs/src/gen-docs.js to use #done intead of the deprecated #end * Uses grunt-contrib-connect instead of lib/nodeserver (removed) * Removes nodeserver.sh, travis now uses grunt webserver * Built and minified files are identical to Rake's output, with the exception of one less character for git revisions (using --short) and a couple minor whitespace differences Closes #199
2012-08-30chore(docs): correctly link docs imagesIgor Minar
2012-08-28chore(docs): use symlinks to build docsIgor Minar
so that we can just edit source files without rebuilding docs. this works for all docs files, except for those that are generated or rewritten during build.
2012-05-04chore(docs): re-skin main documentationMisko Hevery
2012-01-10feat(ngdocs): support for interface documentationMisko Hevery
2011-11-14fix(doc): make output less noisyMisko Hevery
2011-10-18fix(gen-docs): require files without touching PATHVojta Jina
So that it works on latest revision of node... New version of Node (v0.5.x) does not support require.paths.push().
2011-10-11chore(formating): clean code to be function() {Misko Hevery
2011-09-08style: fix some missing semi-colons and spaces, typosVojta Jina
2011-08-24feat(doc): generate both normal and debug version of index.htmlDi Peng
- index.html has manifest file and angular.min.js - index-jq.html has manifest file, angular.min.js and jquery.min.js - index-debug.html has angular.js - index-jq-debug.html has angular.js and jquery.min.js
2011-08-03fix(docs): fix qfs.read() encoding issueDiPeng
- must use binary reading when using read function in q-fs module otherwise some unicode character may be garbled. Closes #497
2011-07-20refactor(gen-docs): use q, qq, q-fs (node modules) to write gen-docsDi Peng
- re-write gendocs.js, reader.js and writer.js - all calls are asynchronous
2011-07-17refactor(docs): run e2e tests with and without jqueryDi Peng
- e2e tests will run index.html (without jquery) and with index-jq.html(with jquery). - many small changes to make e2e tests work withough JQuery as we discover problems that were previously hidden by using real JQuery.
2011-06-06Fixed docs search input withVojta Jina
And couple of missing semi-colons...
2011-06-06add resource mergingIgor Minar
2011-06-06make docs/writer.js copyDir recursiveIgor Minar
2011-06-06Move documentation under individual headingsMisko Hevery
2011-05-19JSTD adapter for running e2e testsVojta Jina
Couple of changes into angular.scenario runner: - add autotest config (runs tests when document ready) - update ObjectModel (forwards events) - use only one ObjectModel instance for all outputters - expose error msg and line number in ObjectModel.Spec and ObjectModel.Step - fix generating spec.ids - fix 'html' output so that it does not mutate ObjectModel Couple of changes into docs / generator: - rename copy -> copyTpl - move docs/static into docs/examples (to avoid conflict with jstd proxy) Running all docs e2e tests: ======================================================== 1/ compile angular-scenario, jstd-scenario-adapter >> rake compile 2/ build docs >> rake docs 3/ start jstd server >> ./server-scenario.sh 4/ capture some browser 5/ run node server to serve static content >> node ../lib/nodeserver/server.js 6/ run tests >> ./test-scenario.sh
2011-02-03Added remainder of the cookbookMisko Hevery
2011-01-26Added part of guide documentation and supporting changes to doc generatorMisko Hevery
2011-01-24fixed example rendering, add tests for it.Misko Hevery
2011-01-10complete rewrite of documentation generationMisko Hevery
- romeved mustache.js - unified templates - improved testability of the code