8000 GitHub - jaredtritz/jsonsails-readthedocs
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jaredtritz/jsonsails-readthedocs

Repository files navigation

Easy method of re-building doc

# activate python virtual env
path/to/venv/bin/activate

# activate node
nvm use v6.9

# run bash script for building
./auto_build.sh 

Detailed method

# activate python virtual env
path/to/venv/bin/activate

# activate node
nvm use v6.9

# extract doc strings from source
python extract_doc_strings.py

# run build script
cd src/javascript/docgen
node generate_docs.js

# build doc using sphinx
make html

Reminders

snippets

  • edit "file_list" array in "extract_doc_strings.py" to ensure parsing of doc strings from source into doc string files
  • comment format: // COMMENT_NAME: default-serialize ... // COMMENT_END
  • comment produces file under comments directory named after COMMENT_NAME
  • add literalinclude to rst file(s) appropriatly to bring whole comment file in

auto-gen doc

updating read-the-docs

  • git commit -am "msg about the update"
  • git push
  • read-the-docs is will auto-syc with this repo on github

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0