aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/gen-docs.js
AgeCommit message (Collapse)Author
2011-09-26fix(e2e): add index-nocache.html to run e2e tests without cacheIgor Minar
using appcache while running e2e tests was causing the following problems: - Safari would occasionally reload the app (as a result of the appcache refresh) during the angular.validator.asychronous test, which would result in test failure and false positivy. - Firefox6 would run the tests very slowly, disabling the cache resolved the latency issues - Sometimes tests would run with stale code pulled from cache, which would result in flaky tests.
2011-09-26feat(docs): use html5 history api for all routing in the docs appVojta Jina
- Configure our docs app to use new $location with html5 history api! - Update simple node web server to serve index.html for all links (rewritting). - Update .htaccess file to serve index.html for all links (rewritting). - At runtime determine the base href path and attach it to the DOM. We needed the absolute URL to get all browsers to work well. - Because of the above, we also need to dynamically determine all needed js/css resources and add them to the DOM. This was needed because FF6 would eagerly fetch resources with wrong URL since the base element is added to the dom at runtime. - All content html files were moved to the partials directory, because with the new html5 urls it was impossible to tell if request for http://domain/api/angular.filter.html was an html5 url for the html filter doc page, or an xhr/appcache request for the content html file for the html filter. f
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-07-26feat(docs): add full offline supportDi Peng
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-20feat(gen-docs): enable caching the whole siteDi Peng
Generate a manifest file automatically by reading the directories.
2011-07-19chore(docs/.htaccess): bundle .htaccess with docsIgor Minar
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-08Refactor injector to have invoke method for speed reasonsMisko Hevery
2011-06-07add appcache for docs site - caches only css/js/img resourcesIgor Minar
2011-06-06add resource mergingIgor 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-24Added SiteMap generation to the documentationMisko Hevery
2011-01-24fixed example rendering, add tests for it.Misko Hevery
2011-01-10offline docsIgor Minar
- freezing syntaxhighlighter and jquery under docs/src/templates/ - for jquery I just used a symlink to lib/jquery not an ideal solution but writer.js is not very flexible and I didn't want to mess with it - changed docs' index.html to point to the local resources
2011-01-10complete rewrite of documentation generationMisko Hevery
- romeved mustache.js - unified templates - improved testability of the code