[
https://issues.apache.org/jira/browse/CB-6751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257155#comment-14257155
]
ASF subversion and git services commented on CB-6751:
-----------------------------------------------------
Commit 455ed5998687d326c64f0efe51a46b0e965fc4b8 in cordova-docs's branch
refs/heads/master from [~akurdyumov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=455ed59 ]
CB-6751 Rewrite docs generation to use Node instead of Ruby (close #236)
This is a combination of 44 commits.
- Added joDoc dependency
- Use jsDoc for generation
- Create initial code which will allow add pre- and post-processors. Added
AddTitle preprocessor which updates the heading stripe with first
headline in the article
- Add more processors and logging
- Add following file processors:
1. version menu builder
2. update indexes processor
3. update keyword index processor
- Added ability to specify logging
- Add Prettify processing step
- Add Prettify processing step
Don't override .JS files during processing
- Fix JSLint warnings
- Added tests
To support tests earlier helper classes from Ruby was reimplemented, and other
behavior for processing module results replicated. This will continue to going
same way for other processing modules, to ensure that they could be tested
- Added tests for UpdateIndex processor
- Remove debug trace calls
- Added tests for UpdateKeywordIndex processor
- Add test for Prettify processor
- Add YAML stripper and tests
- Added TOC builder with tests
- Added FileMerge processor
- Fix checking for the local jodoc
- Added navigation menu
- Append line endings, so comparison easier to made
- Sort languages by label name in the version menu
- Added linting to the test command
- Remove not used code
- Added execution flag on the script
- Clean state of FileMerger parser
- Prevent duplicating version menu when running in batch mode
- Add error reporting during YAML parsing
- Fix jslint warnings
- Start adding basic validation suite
Validation suite should compare newly generated documentation with
documentation generated via Ruby
- Report missing from new docs directories too
- Compare subsets of HTML files
- Add verbosity options for the HTML comparison
- Pass current HTML verification of DOM content
- Added tracing to the joDoc runner
- Added meta robot tag with noindex processor
- Don't add noindex to the last version
- Make German language translation produce identical results using Ruby and JS
- Make English language docs produce identical results using Ruby and JS
- Make Spanish language translation produce identical results using Ruby and JS
- Make French language translation produce identical results using Ruby and JS
- Make Italian language translation produce identical results using Ruby and JS
- Make Chinese language translation produce identical results using Ruby and JS
- Make Slovenian language translation produce identical results using Ruby and
JS
- Make Japanese language translation produce identical results using Ruby and JS
- Make Korean language translation produce identical results using Ruby and JS
- Fix validation script bug
Don't compare _index.html file for Asian files, since this is casused out of
memory exception
- Make Rusian language translation produce identical results using Ruby and JS
- Fix validation script bug
Don't compare _index.html file for Russian files, since this is casused out of
memory exception
> Use joDoc-js (nodejs) instead of joDoc ruby
> -------------------------------------------
>
> Key: CB-6751
> URL: https://issues.apache.org/jira/browse/CB-6751
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Docs
> Affects Versions: Master
> Reporter: Shazron Abdullah
> Assignee: Andrey Kurdyumov
>
> https://github.com/azakus/jodoc-js
> https://github.com/davebalmer/joDoc/issues/17
> This will remove the Ruby dependency and use nodejs which all of us have
> installed (and all users if they use the CLI)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]