summaryrefslogtreecommitdiff
path: root/doc/markup
Commit message (Collapse)AuthorAgeFilesLines
* doc: Extend "directives" doc, part 3Stephen Finucane2018-03-272-324/+0
| | | | | | | Finish building up this combined doc by adding the contents of the former 'misc' document. There are no changes to the content. Signed-off-by: Stephen Finucane <stephen@that.guru>
* doc: Extend "directives" doc, part 2Stephen Finucane2018-03-272-271/+0
| | | | | | | Continue building up this combined doc by adding the contents of the former 'code' document. There are no changes to the content. Signed-off-by: Stephen Finucane <stephen@that.guru>
* doc: Extend "directives" doc, part 1Stephen Finucane2018-03-272-240/+0
| | | | | | | Continue building up this combined doc by adding the contents of the former 'para' document. There are no changes to the content. Signed-off-by: Stephen Finucane <stephen@that.guru>
* doc: Add "directives" doc to restructuredtext sectionStephen Finucane2018-03-272-251/+0
| | | | | | | | | There's simply no need to artificially divide up the documentation on directives into multiple, hard-to-navigate documents. Gather all documentation for directives into one easy-to-reference guide, starting with the former 'toctree' document. There are no changes to the content. Signed-off-by: Stephen Finucane <stephen@that.guru>
* doc: Rework "markup" documentsStephen Finucane2018-03-275-79/+72
| | | | | | | | | | | | These are going to form the basis of a future 'directive' document, so we do some cleanup before this happens. There are a number of cleanup items. - Some paragraphs are reworded or clarified - Semantic markup is added where possible - Everything is wrapped to ~80 characters Signed-off-by: Stephen Finucane <stephen@that.guru>
* doc: Add "field-lists" doc to restructuredtext sectionStephen Finucane2018-03-271-35/+0
| | | | | | | These are very poorly documented at present, especially given their power and use in basically all non-Napoleon based Python documentation. Signed-off-by: Stephen Finucane <stephen@that.guru>
* doc: Add "roles" doc to restructuredtext sectionStephen Finucane2018-03-272-457/+0
| | | | | | | | This is essentially the 'markup/inline' with a few small fixes. There are also some modifications to the basic rST guide to highlight what a role is; we were doing this for directives but not roles. Signed-off-by: Stephen Finucane <stephen@that.guru>
* doc: Add "restructuredtext" section to usage guideStephen Finucane2018-03-271-0/+1
| | | | | | | This is taken from the existing 'rest' documents. Little to no modifications are necessary, thankfully. Signed-off-by: Stephen Finucane <stephen@that.guru>
* Update docs (refs: #2307)Takeshi KOMIYA2018-03-191-1/+1
|
* Show a notice if both tabularcolumns and :widths: are given (refs: #4196)Takeshi KOMIYA2018-01-141-0/+5
|
* add link to manpages in HTML builderAntoine Beaupré2018-01-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | It is useful to have the HTML documentation builder actually link to real rendered versions of HTML manpages in its output. That way people can click on manpages to get the full documentation. There are a few services offering this online, so we do not explicitly enable one by default, but the Debian manpages repository has a lot of the manpages pre-rendered, so it is used as an example in the documentation. The parsing work is done by a transformer class that parses manpage objects and extract name/section elements. Those then can be used by writers to cross-reference to actual sites. An implementation is done in the two HTML writers, but could also apply to ePUB/PDF writers as well in the future. This is not enabled by default: the `manpages_url` configuration item needs to be enabled to point to the chosen site. The `page`, `section` and `path` parameters are expanded through Python string formatting in the URL on output. Unit tests are fairly limited, but should cover most common use-cases.
* docs: make explicitly :meth: reference (refs: #4344)Takeshi KOMIYA2017-12-271-1/+1
|
* Merge branch 'stable'jfbu2017-12-181-9/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: sphinx/apidoc.py sphinx/application.py sphinx/quickstart.py modified: CHANGES modified: doc/config.rst modified: doc/markup/inline.rst modified: sphinx/application.py modified: sphinx/builders/__init__.py modified: sphinx/cmd/quickstart.py modified: sphinx/ext/apidoc.py
| * Typo place holder --> placeholderjfbu2017-12-161-1/+1
| |
| * Improve numref docsjfbu2017-12-161-9/+9
| |
* | Merge branch 'stable'jfbu2017-12-111-2/+4
|\ \ | |/
| * Add a note for future maintenance by TeX hackersjfbu2017-12-101-1/+0
| |
| * Update docs relative to emphasize-linesjfbu2017-12-101-4/+4
| |
| * Support ``:emphasize-lines:`` in PDF output (closes #1238)jfbu2017-12-101-0/+3
| |
* | Merge pull request #3905 from ↵Takeshi KOMIYA2017-07-151-2/+7
|\ \ | | | | | | | | | | | | TimKam/1236-add-note-referencing-arbitrary-locations #1236 add note: omit underscore in internal ref
| * | #1236 add note: omit underscore in internal refTimotheus Kampik2017-07-021-2/+7
| |/
* | #2307 add `::` to show markup sample, not evaluate itTimotheus Kampik2017-07-021-1/+1
|/
* Improve access to table and math markup info in docsjfbu2017-06-201-1/+16
|
* doc: Add warning for only directive (refs: #3539)Takeshi KOMIYA2017-03-121-0/+5
|
* Improve latex tables: fix #1574 and other rendering issuesjfbu2017-03-011-21/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - allow multi-paragraph contents in grid table merged cells - allow code-blocks in merged cells - allow generally speaking reST contents allowed in regular cells to be also allowed in merged cells, whether multirow, multicolumn, or both. This is made possible by custom LaTeX macros replacing original ``\multicolumn`` and ``\multirow`` (none of the originals allows verbatim contents as is needed for code-blocks). They are defined in bundled LaTeX style file sphinxmulticell.sty. The multicolumn merged cells give much better results with tabulary as it is coerced into taking them into account in its automatic width algorithm. This deprecates use of LaTeX packages eqparbox and multirow, which are not needed anymore. New config setting ``latex_use_latex_multicolumn`` (default value False, currently) as custom Sphinx multicolumn is not fully compatible will all types of custom table col specs which may be inserted via tabularcolumns directive. It works best with standard ``|`` column separator. The default tabulary column specifier has been changed from L (flushleft) to J (justifying). Internally the column type is called T, so ``r'\newcolumntype{T}{L}'`` in preamble key recovers the former behaviour. A ``\Y`` column type is defined which admits one decimal argument in place of the two integers for ``\X``.
* Merge branch 'stable'Takeshi KOMIYA2017-02-251-2/+3
|\
| * clarify description of tabulary (no "rescaling" of contents)jfbu2017-02-241-2/+3
| |
| * Revert "Improve docs about ``:lines:̀`` vs ̀``:start-after:`` (refs #3412)"jfbu2017-02-111-3/+1
| | | | | | | | | | | | | | This reverts commit 839e924808ad5c8cad8bed567e86eb7cd6970d7c. Indeed, it is better not to document how to use ``lines`` with ``start-after`` now if this is to be changed at next major release (refs
* | Update CHANGES and docs for PR#3413jfbu2017-02-171-5/+7
| |
* | Merge branch 'master' into literalincludelinesJean-François B2017-02-132-2/+2
|\ \
| * | Fix typosJakub Wilk2017-02-071-1/+1
| | |
| * | Update toctree.rstadrian52017-01-311-1/+1
| | |
* | | Remove unneeded docsjfbu2017-02-101-5/+0
| | |
* | | If ``:start-after:`` is used, make ``:lines:`` relative (close: #3412)jfbu2017-02-101-5/+16
| |/ |/|
* | Improve docs about ``:lines:̀`` vs ̀``:start-after:`` (refs #3412)jfbu2017-02-101-1/+3
|/
* Fix #3118: Update document for numfig_format and numrefTakeshi KOMIYA2016-11-201-1/+5
|
* add advice on use of tabulary (latex output)jfbu2016-10-201-2/+9
|
* Rename :reverse: option of toctree directive to :reversed:Takeshi KOMIYA2016-10-121-2/+2
|
* Merge remote-tracking branch 'JonhVillalovos/master'Takeshi KOMIYA2016-10-121-0/+10
|\
| * Add a 'reverse' flag option to 'toctree'John L. Villalovos2016-05-041-0/+10
| | | | | | | | | | | | | | | | | | | | | | I'm not sure the best way to do the unit tests. A little confused. So help would be appreciated :) Add the ability to reverse the list of entries when using 'toctree'. This is likely most useful for people using the 'glob' flag option with 'toctree' Change-Id: I1852479106c3d9c8253fd1625ced0077af0304e3
* | Fix grammar and wordingJean Jordaan2016-10-021-1/+1
| |
* | Fix #2916: `numref` role can also refer caption as an its linktextTakeshi KOMIYA2016-09-171-2/+2
| |
* | Fix #326: `numref` role can also refer sectionsTakeshi KOMIYA2016-09-171-3/+6
| |
* | add preferred instruction to download role descriptionYoshiki Shibukawa2016-07-191-0/+6
|/
* Clear up Pygments is mandatoryRobert Lehmann2016-04-051-3/+3
| | | While Pygments is not required for other builders, it is *always* used in the HTML builder.
* Merge branch 'stable'Takeshi KOMIYA2016-03-021-5/+2
|\
| * update doc: LaTeX writer now refers maxdepth option (ref #2358)Takeshi KOMIYA2016-03-021-5/+2
| |
* | classifier of glossary terms can be used for index entries grouping key. The ↵shimizukawa2016-02-141-0/+20
| | | | | | | | classifier also be used for translation. See also :ref:`glossary-directive`.
* | Fixup links in the documentation.Georg Brandl2016-02-131-1/+1
| |
* | Merge branch 'stable'Takeshi KOMIYA2016-01-111-3/+2
|\ \ | |/