Matias Niemelä
1c3a46adda
chore(ngdoc): wrap all pages inside of a container tag for easy styling
2013-08-07 22:11:45 +01:00
Igor Minar
87f6b36bab
chore(docs): improve docs parser type
...
previously we barfed on function type definition with optional arguments
like {function(number=)}
this fixes it
I also added a bunch of code that helps to debug incorrectly parsed docs.
2013-02-11 14:08:27 -08:00
Igor Minar
f16150d5f1
docs(*): simplify doc urls
...
we now have two types of namespaces:
- true namespace: angular.* - used for all global apis
- virtual namespace: ng.*, ngMock.*, ... - used for all DI modules
the virual namespaces have services under the second namespace level (e.g. ng.)
and filters and directives prefixed with filter: and directive: respectively
(e.g. ng.filter:orderBy, ng.directive:ngRepeat)
this simplifies urls and makes them a lot shorter while still avoiding name collisions
2012-06-12 00:10:18 -07:00
Misko Hevery
8e2675029f
chore(docs): re-skin main documentation
2012-05-04 16:12:17 -07:00
Igor Minar
53b6f522a5
fix(ngDocSpec): fix broken tests
2012-03-16 15:32:14 -07:00
Misko Hevery
8b8fdddc0b
docs(links): corrected borken links
2012-03-13 19:36:09 -07:00
Misko Hevery
c27a56f4da
docs(scope): show which directives create scopes
2012-02-22 12:59:23 -08:00
Misko Hevery
22c1db1744
fix(ngdoc): extract keywords from properties/methods.
2012-02-21 22:45:58 -08:00
Misko Hevery
4804c83b7d
docs(compiler): update the compiler docs
2012-01-25 11:53:59 -08:00
Vojta Jina
acbd7cdf32
style(docs): make jslint happy - fix some warnings
2011-11-14 20:31:19 -08:00
Misko Hevery
b09595a3c1
fix(doc) cleanup all api doc link warnings
2011-11-14 20:31:18 -08:00
Misko Hevery
74fac45f48
doc($filter): added $filter documentation
2011-11-14 20:31:16 -08:00
Misko Hevery
f0fa5e6376
doc(AUTO, NG_MOCK): Documenting the AUTO and NG_MOCK module
2011-11-14 20:31:16 -08:00
Vojta Jina
4afad1da29
feat(docs): allow custom attributes on <doc:source>
...
Allow any attributes, not only jsfiddle...
2011-11-13 16:40:31 -08:00
Vojta Jina
8978e066b5
fix(gen-docs): require files without touching PATH
...
So that it works on latest revision of node...
New version of Node (v0.5.x) does not support require.paths.push().
2011-10-18 22:23:52 -07:00
Misko Hevery
fd822bdaf9
chore(formating): clean code to be function() {
2011-10-11 11:01:46 -07:00
Misko Hevery
4f78fd692c
feat(forms): new and improved forms
2011-10-11 11:01:45 -07:00
Vojta Jina
13f92de624
feat(docs): use html5 history api for all routing in the docs app
...
- 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-26 23:51:53 +02:00
Misko Hevery
08d09ecbaa
feat(docs): add support for events
2011-08-31 14:30:21 -07:00
Di Peng
774db0aecb
fix(sample): Fix for jsFiddle integration
2011-08-19 15:27:21 -07:00
Igor Minar
9e37ebe635
test(ngdoc): add test for @ngdoc function
2011-07-16 01:12:29 -07:00
Igor Minar
345c01c81b
test(ngdoc): fix a typo in the @deprecated spec
2011-07-16 01:12:29 -07:00
Igor Minar
975aef2ad2
test(ngdoc): fix failing tests
2011-07-16 01:12:28 -07:00
Misko Hevery
f9f95879f0
Added support for properties in documentation
2011-06-08 15:21:33 -07:00
Igor Minar
bb7228e2d9
fix ngdocSpec tests
2011-06-07 14:56:01 -07:00
Vojta Jina
2da07127e4
Add doc:tutorial-instructions widget
2011-06-06 22:52:01 -07:00
Vojta Jina
2380943106
Allow "section/" links pointing to "section/index"
2011-06-06 22:52:01 -07:00
Vojta Jina
43b2cd45f0
Allow relative links in docs
...
So you can use links without section when they link within the section.
2011-06-06 22:52:01 -07:00
Vojta Jina
fd357b4cd2
Remove trailing ws
2011-06-06 22:52:00 -07:00
Vojta Jina
7fe46e8d7e
Bit of refactoring
2011-06-06 22:51:59 -07:00
Vojta Jina
d62b8407cf
Fixed couple of failing tests in docs
...
These tests were failing because of rewriting urls into new 'section' format,
i.e. angular.scope -> api.angular.scope
2011-06-06 22:51:59 -07:00
Vojta Jina
8cb84eac68
Log warning for every non existing link instead of throwing exception
...
Guess we don't want to stop doc generating process because of non-existing link, so just log warning and continue...
2011-06-06 22:51:59 -07:00
Vojta Jina
2e0e732cad
Check whether links do exist and throw exception
2011-06-06 22:51:59 -07:00
Misko Hevery
b6bc6c2ddf
fix syntax highlighting on the javascript
2011-06-06 22:28:37 -07:00
Misko Hevery
5b05c0de03
@require in ngdoc now takes reason for dependency
2011-03-11 14:16:52 -08:00
Misko Hevery
55ce859998
fix documentation for ie
2011-02-22 14:48:53 -08:00
Misko Hevery
65243b7d60
corrected new lines in @link
2011-02-18 11:52:57 -08:00
Igor Minar
d600c608e3
markdown pre-processor should strip all the extra indentation
...
- split trim into trim and indent
- merged my indentation code with trim
- cleaned up some small issues
2011-02-07 23:56:51 -08:00
Igor Minar
f00b157841
@property should require type and description should be markdownified
2011-02-07 23:55:02 -08:00
Misko Hevery
882f412d57
Added remainder of the cookbook
2011-02-03 20:03:38 -08:00
Misko Hevery
ba6b68b6ae
changed the documentation @example to use <doc:example>
2011-02-01 10:00:09 -08:00
Misko Hevery
ed768ebc53
Developer guide documentation
2011-02-01 09:58:37 -08:00
Misko Hevery
bd33f60276
Added part of guide documentation and supporting changes to doc generator
2011-01-26 23:31:15 -08:00
Misko Hevery
d8acfe7389
add @this and @exampleDescription tags
...
(also removed markdownNoP, now done through CSS)
2011-01-24 14:23:51 -08:00
Misko Hevery
c2f2587a79
fixed example rendering, add tests for it.
2011-01-24 14:23:51 -08:00
Misko Hevery
70c74a9c4e
add @this and @exampleDescription tags
...
(also removed markdownNoP, now done through CSS)
2011-01-24 14:23:51 -08:00
Igor Minar
2c0f7ffe3a
ngdoc should escape content of pre in markdown
2011-01-19 15:53:58 -08:00
Misko Hevery
050e5d773f
verify that issue# 162 was fixed with doc rewrite
2011-01-18 15:32:46 -08:00
Misko Hevery
347be5ae9a
fixed select with ng:format
...
select (one/multiple) could not chose from a list of objects, since DOM requires string ids.
Solved by adding index formatter, which exposed incorrect handling of formatters in select
widgets.
2011-01-14 10:30:00 -08:00
Misko Hevery
4f22d6866c
complete rewrite of documentation generation
...
- romeved mustache.js
- unified templates
- improved testability of the code
2011-01-10 11:50:11 -08:00