Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Our Sphinx configuration gets the current skiboot version by using the
subprocess module to run make_version.sh. In Python 2, this returns a
value of type str, but in Python 3, this returns bytes instead.
Decode those bytes into a string so we see "skiboot 5.6.blah" rather
than "skiboot b'5.6.blah\n'" in the documentation output.
Tested using Sphinx with both Python 2 and 3.
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Unlike the rest of skiboot, DtsLexer.py is BSD licensed as it
should go into the pygments project (Python library for doing
syntax highlighting which is used by Sphinx).
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|