restructuredtext
Here are 149 public repositories matching this topic...
The Japanese documentation states that max_length checks the number of words (単語数) in parentheses. It doesn't - it checks the number of characters. Also, the default value of max_length is 4, which is too few if it is counting characters, I think.
-
Updated
May 30, 2020 - Python
I have the following rst files:
index.rst
Test Documentation!
===================
This is some test documentation
.. toctree::
:maxdepth: 2
another_page
one_more
another_page.rst
Another Page for Test Doc
==========================
This is another page for the test documentation.
Reference to :doc:`one_more`
Section A
---------
Some section
The first flowable on a page receives descender=0 on rendering. This causes a difference in the rendering of the two admonitions below:
.. Hint:: It's bigger than a bread box.
.. Hint:: It's bigger than a bread box.
When rendering a top border, the cursor should probably be moved by - descender and the descender passed to the content should equal 0.
Something similar ne
Consider adding information how to extend waliki templates in custom projects:
In project templates directory create waliki/ and place base.html in it (ex. path: some_app/templates/waliki/base.html
base.html can contain
{% extends "site_base.html" %}
{% block navbar %}{% include "_layouts/menu.html" with site="wiki" %}{% endblock %}
It can be useful for newbies
-
Updated
Jul 2, 2020 - Ruby
When running this tool on a large C codebase, I was experiencing errors with values out-of-bounds of the size of a short, so I modified _search.py to create a table with larger bounds:
diff --git a/documentation/_search.py b/documentation/_search.py
index cd8b643..efe2bc5 100644
--- a/documentation/_search.py
+++ b/documentation/_search.py
@@ -108,7 +108,7 @@ class ResultMap:
-
Updated
May 14, 2020 - Emacs Lisp
Please follow the troubleshooting guide to locate the culprit.
If troubleshooting does not reveal any useful information, provide the following information to create a new issue,
Environment
- Extension version: 116.0.0
- Visual Studio Code version: 1.41.1
- Operating System version: Windows 10 Version 10.0
In your example from https://raw.githubusercontent.com/miyakogi/m2r/master/docs/example.md:
Link to [document](example.md) in markdown.
links propertly to example.html (that is auto-generated without additional rst file I suppose)
For me such a link points to .md file (not to generated html file), that not exists in build directory of course. I've played around with `m2r_parse_r
-
Updated
Jan 8, 2020 - Python
Currently rstcheck is hard coded to ignore Sphinx RST extensions via:
https://github.com/myint/rstcheck/blob/v3.3.1/rstcheck.py#L163
If sphinx is installed, it get the current information, otherwise defaults to a hard coded list of roles and directives. This makes sense as a default behaviour.
However, not everyone uses Sphinx, and in that case it would be useful to be able to disable
-
Updated
Jul 8, 2020 - Java
-
Updated
Jul 5, 2020 - C++
Export of two or more org links with same name/label results in an invalid reST file. This is caused by ox-rst exporting references as named links instead of anonymous links.
Thus this .org notation:
[[https://example.com][this]] and [[http://example2.com][this]]
is exported as
`this <https://example.com>`_ and `this <http://example2.com>`_
creating an invalid reST file.
-
Updated
Jul 4, 2020 - PHP
Hi,
I find this list very useful and I think crowbook might be included in it : https://github.com/lise-henry/crowbook
However I've not tested it and specially how to seamlessly cite references part.
Noé
Environment Details (include every applicable attribute)
- Operating System+version: Windows 10
- Compiler+version: -
- Conan version: 1.12.3, latest
- Python version: 3.8 (default download 32 Bit!)
-
Updated
Jan 20, 2018 - Go
-
Updated
Mar 17, 2014 - JavaScript
The directive block is separated from the rest by a blank line, but the parser simply outputs text nodes ignoring blank lines.
e.g. the following rST…
.. figure:: larch.png
:scale: 50
The larch.parses to
{
"type": "document",
"children": [
{
"type": "directive",
"directive": "figure",
"children": [
{
The autodoc feature doesn't properly represent structures of the form
typedef struct {...} <symbol>; which is a common way of defining structures in C code.
A temporary solution was to write typedef struct <symbol> {...} <symbol>; but this is redundant.
-
Updated
May 31, 2017 - C++
-
Updated
Jun 2, 2020 - Python
Improve this page
Add a description, image, and links to the restructuredtext topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the restructuredtext topic, visit your repo's landing page and select "manage topics."
First, thanks for a great programme! I've started to use ReText more and more instead of normal word processing software, as it is then so easy to convert the text to html if needed -- without the bloated CSS created by fully-fledged word processors.
Would it be possible to add a shortcut for duplicating a line? Some text editors use
Ctrl+D, and it is very handy (much quicker than select-