autoEdit 2 Documentation
1.0.6
1.0.6
  • Introduction
  • Overview
    • Intro
      • High-level overview of the parts
      • from 1.0.5 to 1.0.6
      • Project folder structure
    • Support the project
  • Transcriptions
    • Transcriptions intro
    • Transcription json
    • Transcriber
      • audio to video
      • STT sdks
        • IBM Watson STT
        • Gentle STT
        • Pocketsphinx
    • Read metadata
    • Video preview conversion
    • Hypertranscript
  • Papercuts
    • Papercuts
      • Selections
      • Annotations
      • Tags
  • Paper-edit
    • Paper-edit
      • Paper-edit json
      • search-filter
      • drag-and-drop
      • video-preview
  • Export
    • Export
      • EDL export
      • XML export
  • Appendix
    • Dev configuration
    • Deployment/build
      • Deployment/build for Max OS X
      • Deployment / Build for Linux
      • Deployment / Build for Windows
    • Dependencies
    • Current db setup
    • EDL Format
    • Reusable components
    • Prerequisites
    • JQuery and NWJS Packaging
    • Roadmap
      • Paper-editing Roadmap
      • Extra Features Roadmap
      • Future Roadmap
        • Live video editing
        • Social Media Export
        • Translate transcriptions
        • Web app
          • Multi-user collaboration
        • Searchable Editable Archive
        • NLP insights
        • Slack/Chat bot integration
        • Interactive dev tool
        • Phone mms integration with twillio
        • B-roll computational photography
    • Paper-editing Roadmap
    • Testing
    • Updating automated documentation
    • History of autoEdit versions over time
    • ffmpeg and ffprobe in electron
  • Appendix - Data structures
    • IBM Watson json specs
    • Gentle Json transcription specs
    • Pocketsphinx results
    • autoEdit transcription Json
  • QA List
    • QA Intro
    • QA Launch App
    • QA Transcriptions
    • QA Paperedits
    • QA Export
  • Methods
    • Example: Defining Methods
  • Adobe Panel
    • autoEdit Adobe CEP Panel dev setup
    • autoEdit Adobe CEP Panel integration overview
    • Adobe CEP Jsx functions for autoEdit adobe Panel
Powered by GitBook
On this page
  • Updating documentation with Docco
  • Docco config
  • Updating documentation with JSDoc
  • Jsdoc config
  • Updating developer's tutorial
  1. Appendix

Updating automated documentation

PreviousTestingNextHistory of autoEdit versions over time

Last updated 6 years ago

Documentation links

Note that for now the index.html nwjs starter page is left out of the automatically generated docs.

Updating documentation with Docco

Using for documentation inspired by blog post. In conjunction with json doc.

install docco globally

npm install docco -g

to re-generate documentation run from root of app

npm run docco

this puts documentation in /docs/docco_docs folder.

Docco config

The setup for this is done in package.json scripts where the folders/files to consider for documentations and destination folder(-o) are specified.

"docco": "docco -o ./docs/docco_docs --title 'autoEdit 2 Documentation' ./*.js ./frontEnd/*.js ./frontEnd/date_now/*.js ./frontEnd/edl_composer/*.js ./frontEnd/srt/*.js ./frontEnd/js/*.js ./frontEnd/js/models/*.js ./frontEnd/js/views/*.js ./frontEnd/js/collections/*.js ./interactive_transcription_generator/*.js ./interactive_transcription_generator/**/*.js",

Updating documentation with JSDoc

To get up and running with updating the documentation install jsdoc locally

npm install jsdoc -save

to re-generate documentation run from root of app

npm run jsdoc

Jsdoc config

This executes the script in package.json, and places the documentation inside of /docs/jsdoc_docs.

   "jsdoc": "./node_modules/.bin/jsdoc *.js  -c ./docs/jdocs_conf/conf.json"

See /docs/jdocs_conf/conf.json for the config options,that specify which files to include, exclude etc..

Updating developer's tutorial

To add or update a tutorial in the developer documentation tutorials, go to /docs/_posts/tutorial where you can find the markdown files.

when writing code comments.

Edit config file as explain in {:target="_blank"}

This is because you need to edit the config file in the module at ./node_modules/jsdoc/config.json. And this part of the information is at .

in documentation. In this project this is used for topics that might deserve a standalone explanation .

Docco style code documentation
JSdoc style code documentation
docco
this
see here for jsodc tags to use
blog post
usejsdoc.org
Jsdoc allows to link to tutorial
such as the one on the EDL format