Skip to content

OpenPTV documentation, it will moved eventually into OpenPTV project under <http://www.openptv.net/docs>

Notifications You must be signed in to change notification settings

psteinhoff/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Prototype of the documentation for OpenPTV project

This separate repository can be become http://github.com/openptv/docs. Such repository including the gh-pages branch would automatically allow us to create

http://www.openptv.net/docs

using Sphinx http://sphinx-doc.org/index.html

How it works

For the prototype, check http://alexlib.github.io/docs

The source files are simple ASCII files that one can edit offline or online using Github editor. The source files are in the software repository, i.e. http://github.com/alexlib/openptv-python for example.

Therefore, in order to add a new page or a new documentation fix, one could fork the directory, add a page of fixs something and send pull request or a patch by mail.

  • What else do we get from Sphinx - automatic rendering our comments and docstrings from Python.
  • How do we link C code references: we generate those using Doxygen and then link manually by copying into the docs/ folder

How to use it effectively

  1. install Sphinx
  2. clone two repositories:
  1. in the openptv-python folder, edit the reST files in openptv-python/docs/source/ subfolder

     $$ edit source/index.rst
    
  2. in openptv-python/docs subfolder run

     $$ make html
    
  3. copy everything into the separate repository copy of the docs (check that it's under git branch gh-pages)

     $$ cd /Users/alex/docs
     $$ git checkout gh-pages 
     $$ cp -rf /Users/alex/openptv-python/docs/build/html/* .
     $$ git add .
     $$ git commit -m "new html"
     $$ git push origin gh-pages
    

About

OpenPTV documentation, it will moved eventually into OpenPTV project under <http://www.openptv.net/docs>

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published