Use of shocco not documented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
Dean Troyer |
Bug Description
devstack uses shocco to generate HTML docs, but the exact steps do not seem to be documented anywhere. It would be helpful to document this so that developers can help ensure that the HTML docs produced are correct.
For example, I noticed that http://
System Message: ERROR/3 (<stdin>, line 4)
Unexpected indentation.
which I wanted to fix. Upon further investigation, I found that this error comes from docutils and that rst2html was required in order to mimic the process used for generation on devstack.org.
I'm also guessing that this fork of shocco is required but I'm not sure:
https:/
If so, it would be great if a pull request was issued for this against the upstream shocco.
Finally, I got it working by configuring the MARKDOWN variable in shocco to use the markdown executable from the Python-based Markdown 2.2.1 implementation.
Changed in devstack: | |
assignee: | nobody → Dean Troyer (dtroyer) |
status: | New → In Progress |
Changed in devstack: | |
status: | In Progress → Fix Released |
Once I had it working, I fixed all shocco warnings and errors:
https:/ /review. openstack. org/#/c/ 49872/
However I think whatever process is used to automatically generate the online docs (a Jenkins job?) needs to be tweaked in order to barf if when any future commit introduces new warnings/errors to shocco. If we can get this into the gate then we'll never have to retroactively fix them in the future. Please let me know if you would like me to file a separate bug for this gate work. Thanks!