[ https://issues.apache.org/jira/browse/TS-5107?focusedWorklogId=34929&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-34929 ]
ASF GitHub Bot logged work on TS-5107: -------------------------------------- Author: ASF GitHub Bot Created on: 06/Jan/17 21:02 Start Date: 06/Jan/17 21:02 Worklog Time Spent: 10m Work Description: GitHub user jablko opened a pull request: https://github.com/apache/trafficserver/pull/1303 TS-5107: Changes to autolinking in Docutils 1.3 Restore the autolinking code and update it for Docutils 1.3, which added the init_customizations() method. It works with Docutils 1.2 and 1.3 now. @jbfavre already fixed this in #1296, thanks! I realize it would've been much better if I'd had this ready at the beginning of the week ... You can merge this pull request into a Git repository by running: $ git pull https://github.com/jablko/trafficserver docutils Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/1303.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1303 ---- commit 8ee31f9bdfa8969c685b0ca11fb6306ba5068811 Author: Jack Bates <j...@nottheoilrig.com> Date: 2017-01-06T19:49:30Z Revert "Fix nested role (not supported)" This reverts commit 9e374946a6700bf9766d011dadbc05891d92f058. commit d3c244f43f68c02d2b652f91b418d3dccaa3a511 Author: Jack Bates <j...@nottheoilrig.com> Date: 2017-01-06T19:49:42Z Revert "Fix documentation build for docutils 0.13.1 (2/2)" This reverts commit f3e37f8e104a74700b35816e50f32f95ee436741. commit 6f1b0cbc235dd8d7e92d1e0d868ed55a76237a27 Author: Jack Bates <j...@nottheoilrig.com> Date: 2017-01-06T19:49:46Z Revert "Fix documentation build for docutils 0.13.1 (1/2)" This reverts commit ac0db847e841d50fd38920234166a45762b00398. commit 8a6fa8392d42caf5588df523f370debffcd7537b Author: Jack Bates <j...@nottheoilrig.com> Date: 2017-01-06T19:55:44Z TS-5107: Changes to autolinking in Docutils 1.3 init_customizations() was added in Docutils 1.3. ---- Issue Time Tracking ------------------- Worklog Id: (was: 34929) Time Spent: 1h 40m (was: 1.5h) > ATS 7.0.0 doesn't build against python docutils 0.13.1 > ------------------------------------------------------ > > Key: TS-5107 > URL: https://issues.apache.org/jira/browse/TS-5107 > Project: Traffic Server > Issue Type: Bug > Components: Documentation > Reporter: Jean Baptiste Favre > Assignee: Jean Baptiste Favre > Fix For: 7.0.1 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > Trying to build ATS 7.0.0 with python docutils 0.13.1 on Debian fails > with following error: > {code}Making all in doc > make[2]: Entering directory '/home/debocker/source/build/doc' > PAPEROPT_a4="-D latex_paper_size=a4" PAPEROPT_letter="-D > latex_paper_size=letter" PAPER="letter" ./sbuild sphinx-build -c . -d > docbuild/doctrees -b man . docbuild/man > Running Sphinx v1.4.9 > making output directory... > WARNING: sphinx.ext.pngmath has been deprecated. Please use > sphinx.ext.imgmath instead. > loading pickled environment... not yet created > building [mo]: targets for 0 po files that are out of date > building [man]: all manpages > updating environment: 456 added, 0 changed, 0 removed > reading sources... [ 0%] admin-guide/configuration/cache-basics.en > Exception occurred: > File "conf.py", line 185, in __init__ > start_string_prefix=self.start_string_prefix, > AttributeError: Inliner instance has no attribute 'start_string_prefix' > The full traceback has been saved in /tmp/sphinx-err-5iq_t9.log, if you > want to report the issue to the developers. > Please also report this if it was a user error, so that a better error > message can be provided next time. > A bug report can be filed in the tracker at > <https://github.com/sphinx-doc/sphinx/issues>. Thanks! > Makefile:998: recipe for target 'man' failed > make[2]: Leaving directory '/home/debocker/source/build/doc' > make[2]: *** [man] Error 1 > make[1]: *** [all-recursive] Error 1{code} > I tracked it down to > [docutils/parsers/rst/states.py|https://fossies.org/diffs/docutils/0.12_vs_0.13.1/docutils/parsers/rst/states.py-diff.html] > which changed > between 0.12 & 0.13.1 > {{start_string_prefix}} is not defined anymore at {{Inliner}} init. We have to > call {{init_cutomizations}} method, but I can't figure out the {{settings}} > structure. -- This message was sent by Atlassian JIRA (v6.3.4#6332)