Repository navigation
Sound internal tables made private - #308
Conversation
|
Side note: how do you generate the documentation ? I had to follow the suggestion made here to be able to run the process, since I have added the |
|
|
||
| Accepted note symbols and values are defined by the :py:attr:`NOTES` and :py:attr:`NOTE_VALUES` | ||
| dictionaries. The value can be suffixed by modifiers: | ||
| For an exhaustive liste of accepted note symbols and values, have a look at the :py:attr:`_NOTE_FREQUENCIES` |
I don't. readthedocs.com picks up new commits and rebuilds the documentation there. The documentation for the latest commit in But the following should work if you need to build a local copy: It needs some python packages to be installed, one that I remember of is |
|
I may be in slight advantage, since |
|
Thanks! |
|
And readthedocs.com picked this already: http://python-ev3dev.readthedocs.io/en/develop/other.html#sound |
This makes de difference :)
Perfect. However, if contributors want to check their documentation before publishing (what I did) they will run into the problem. Do you think that the workaround I've used worth being included in the sources ? |
|
If the workaround works for all cases, then sure. |
|
It works for me (Mint 17.3 with Py2 as default). But I can't say for the readthedoc chain or other contexts. Basically, it consists in modifying this line at the beginning of the Makefile :
And creating the corresponding script like this : #!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
Same as /usr/bin/sphinx-build but with different
interpreter
Source: http://stackoverflow.com/a/24675806
"""
import sys
if __name__ == '__main__':
from sphinx import main, make_main
if sys.argv[1:2] == ['-M']:
sys.exit(make_main(sys.argv))
else:
sys.exit(main(sys.argv)) |
|
readthedocs.org do not use the It looks like the workaround may work for the case when |
Generated documentation checked for Sound internal tables not been included any more.
Some documentation update included too.