Skip to main content
Pyccoon
PyPi package
Build Status
Downloads

Side-to-side documentation generator. Fork of the Pycco, grandfork of the Docco. And an object-oriented one.

See how it works

Installation

At the moment the release on the PyPi is being prepared. In the meanwhile, to use the Pyccoon

git clone https://github.com/ckald/pyccoon.git
cd pyccoon
python setup.py install

And you’re done. Pyccoon is compatible with Python 2.6, 2.7, 3.3, 3.4 and PyPy. Latest test results can be seen on the Travis CI project page.

Usage

To generate the project documentation

pyccoon -s <source folder> -d <documentation folder>

For additional CLI options, see pyccoon --help

At the moment Pyccoon supports Python, Ruby, Javascript, PHP and C/C++ source files. Other project files will be simply copied to the documentation folder. For additional configuration, create a config file of the kind:

{
    // Documentation title
    "project_name": "pyccoon v0.1.0 documentation",
    // Skip files matching any of the list of regular expressions
    "skip_files": [".+\\.pyc", "__pycache__", "\\.travis.yml", "\\.git", "\\.DS_Store"],
    // Copy files without processing (useful if you have some binary files)
    "copy_files": ["pyccoon.svg", "pyccoon_icon.svg", ".+\\.html", ".+\\.css", "\\.pyccoon"],
    // MathJax (http://mathjax.org) support - sometimes we want nice formulas
    "mathjax": false
}

Development roadmap

  • [x] Initial version

    • [x] Python

    • [x] Ruby

    • [x] JavaScript (incomplete, but will do)

    • [x] C/C++ (incomplete)

    • [x] PHP (incomplete)

  • [x] Better page layout

  • [x] Documentation website

  • [ ] Write test suites and extend supported languages list:

    • [x] Python

    • [ ] Ruby

    • [ ] PHP

    • [ ] JavaScript

    • [ ] C/C++

    • [ ] CoffeScript

    • [ ] Perl

    • [ ] SQL

    • [ ] Scheme

    • [ ] Lua

    • [ ] Erlang

    • [ ] Tcl

    • [ ] Haskell

    • [ ] CSS, LESS, SASS

  • [ ] Fix bugs:

    • [x] Fix --watch option

    • [x] Broken cross-referencing (wikilinks)

    • [x] Fix multiple Python versions compatibility

    • [ ] Replace Python Markdown with Mistune (because we want nice extensions)

      • [ ] Restrict extensions to specific block types

      • [ ] Create LaTeX codeblocks (to avoid unnecessary \begin{equation}...\end{equation} in the docs and restrict MathJax parsing only to specific elements on the page)

    • [ ] Use glob: replace config file regular expressions with more natural wildcards (also support matching against the whole path, not only filename)

    • [ ] Add (actually, fix) line numbers feature (tricky)

    • [ ] Test against multilanguage projects (i.e., what happens if there are index.html and __init__.py in one folder?)

    • [ ] Link index files instead of renaming (__init__.py -> index.html)

  • [ ] Release on PyPi

  • [ ] Additional features:

    • [ ] Object retrieval and cross-linking (“jump to definition” for classes, functions)

    • [ ] Search

    • [ ] Extended docblocks parsing (capturing shortcuts and aliases for cross-linking)

    • [ ] Mixed documents parsing: HTML/JS/CSS, HTML/PHP, etc.

    • [ ] TODO: statements, linting and coverage reports


Acknowledgements

History

0.1.0 (2014-09-07)

  • First release on PyPI.

Release files for pyccoon 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyccoon 0.1.4
File Size Uploaded
pyccoon-0.1.4.tar.gz 39.1 kB Details

Release files / pyccoon-0.1.4.tar.gz

Download URL pyccoon-0.1.4.tar.gz
Size 39.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0743acfa0360c8f11d6396c9faa48cdfc5803ddfdb1116c664024b9b9e313437
BLAKE2b-256 checksum
How to use checksums
d9aa1f7240c14f27afb86dcaba3e8e82ba2b205cf0703fee712ad4bfcafee730
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.1.7

1 release file

0.1.6

0.1.5

1 release file

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

2 release files

0.1.1

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page