Home
last modified time | relevance | path

Searched +refs:rst +refs:indent +refs:comment (Results 1 – 25 of 1019) sorted by relevance

12345678910>>...41

/dports/cad/uranium/Uranium-3ed9c4de/
H A Ddox_2_rst.py56 rst=comment_block,
73 indent = self.INDENT_PATTERN.search(dox_block)
74 if indent is None:
75 indent = ""
77 indent = indent.group()
91 output = "{before}{indent}\"\"\"\n".format(before=output, indent=indent)
94 output = "{before}\"\"\"\n".format(before=output, indent=indent)
99 lines.insert(1, indent)
109 comment = match.group("dox")
110 comment = self.convert_comment_block(comment)
[all …]
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/twine/commands/
H A Dcheck.py22 import readme_renderer.rst
28 None: readme_renderer.rst, # Default if description_content_type is None
30 "text/x-rst": readme_renderer.rst,
77 package = package_file.PackageFile.from_filename(filename, comment=None)
130 output_stream.write(textwrap.indent(error_text, " "))
131 output_stream.write(textwrap.indent(str(render_warning_stream), " "))
/dports/devel/py-twine/twine-3.7.0/twine/commands/
H A Dcheck.py23 import readme_renderer.rst
29 None: readme_renderer.rst, # Default if description_content_type is None
31 "text/x-rst": readme_renderer.rst,
78 package = package_file.PackageFile.from_filename(filename, comment=None)
146 output_stream.write(textwrap.indent(error_text, " "))
147 output_stream.write(textwrap.indent(str(render_warning_stream), " "))
/dports/textproc/py-docutils/docutils-0.17.1/docs/user/
H A Demacs.txt353 customize-group<RET> rst-indent<RET>`` to match your taste.
545 ``comment-dwim`` (``M-;``) to work on comments as usual::
558 To remove a comment you have to tell this to ``comment-dwim``
562 parts of ``comment-dwim`` working on regions.
714 following variables: ``rst-toc-indent``, ``rst-toc-insert-style``,
763 reStructuredText_. ``rst-default-indent`` tells ``rst-mode`` how many
774 customization group ``rst-indent`` allows to customize the amount of
778 the field label. ``rst-indent-field`` tells ``rst-mode`` the amount of
783 ``rst-indent-literal-normal`` and ``rst-indent-literal-minimized``.
788 The indentation of comments is controlled by ``rst-indent-comment``.
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/Documentation/translations/zh_CN/process/
H A Dcoding-style.rst1 .. include:: ../disclaimer-zh_CN.rst
3 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>`
491 /* The preferred comment style for files in net/ and drivers/net
494 * It is nearly the same as the generally preferred comment style,
538 (comment-intro . c-lineup-comment)
555 (indent-tabs-mode . t)
566 以用 ``indent`` 。
574 ``indent`` 有很多选项,特别是重新格式化注释的时候,你可能需要看一下它的手册。
575 不过记住: ``indent`` 不能修正坏的编程习惯。
602 要查看配置文件的完整文档,请看 Documentation/kbuild/kconfig-language.rst
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/Documentation/translations/zh_CN/process/
H A Dcoding-style.rst1 .. include:: ../disclaimer-zh_CN.rst
3 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>`
491 /* The preferred comment style for files in net/ and drivers/net
494 * It is nearly the same as the generally preferred comment style,
538 (comment-intro . c-lineup-comment)
555 (indent-tabs-mode . t)
566 以用 ``indent`` 。
574 ``indent`` 有很多选项,特别是重新格式化注释的时候,你可能需要看一下它的手册。
575 不过记住: ``indent`` 不能修正坏的编程习惯。
602 要查看配置文件的完整文档,请看 Documentation/kbuild/kconfig-language.rst
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/Documentation/translations/zh_CN/process/
H A Dcoding-style.rst1 .. include:: ../disclaimer-zh_CN.rst
3 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>`
491 /* The preferred comment style for files in net/ and drivers/net
494 * It is nearly the same as the generally preferred comment style,
538 (comment-intro . c-lineup-comment)
555 (indent-tabs-mode . t)
566 以用 ``indent`` 。
574 ``indent`` 有很多选项,特别是重新格式化注释的时候,你可能需要看一下它的手册。
575 不过记住: ``indent`` 不能修正坏的编程习惯。
602 要查看配置文件的完整文档,请看 Documentation/kbuild/kconfig-language.rst
[all …]
/dports/games/pyspacewar/pyspacewar-1.1.1/
H A Dsetup.cfg7 # E121: continuation line under-indented for hanging indent
9 # E126: continuation line over-indented for hanging indent
18 # E116: unexpected indentation (comment)
22 history_file = NEWS.rst
/dports/devel/mercurial/mercurial-6.0/tests/
H A Dtest-contrib-check-code.t81 > // strcpy_s is okay, but this comment is not
90 > // strcpy_s is okay, but this comment is not
183 > indent
188 > indent
189 don't use tabs to indent
193 $ cat > rst.py <<NO_CHECK_EOF
194 > """problematic rst text
223 $ $check_code -w rst.py
224 rst.py:3:
227 rst.py:26:
[all …]
/dports/devel/ros-catkin_pkg/catkin_pkg-0.4.14/src/catkin_pkg/
H A Dchangelog.py204 def populate_changelog_from_rst(changelog, rst): argument
212 document = docutils.core.publish_doctree(rst)
214 changelog.rst = rst
256 if isinstance(child, docutils.nodes.comment):
343 return self.as_txt(indent='', use_hyphen_bullet=True)
345 def as_txt(self, indent='', use_hyphen_bullet=False): argument
350 i = indent
400 def rst(self): member in Changelog
403 @rst.setter
404 def rst(self, rst): argument
[all …]
/dports/textproc/py-docutils/docutils-0.17.1/tools/editors/emacs/
H A DIDEAS.rst204 instance by comment strings
244 * Alternatively indentation could indent the whole item
272 * <backtab> should be used to indent in the other direction
299 * An indenting tab on the head of a list item should indent the whole
363 rst-toc-insert features
390 Entry level for rst-straighten-adornments
500 * `comment-use-syntax` should be set to nil locally
502 * `comment-forward` should work so `comment-dwim` recognizes a
612 Multiple steps for `rst-adjust`
675 * `rst-shift-region` should have a mode to indent correctly
[all …]
/dports/math/py-matplotlib/matplotlib-3.4.3/doc/devel/
H A Ddocumenting_mpl.rst144 .. code-block:: rst
327 Most of the API documentation is written in docstrings. These are comment
556 starting on the new line without any indent (no indent because pydoc will
557 parse the docstring and strip the line continuation so that indent would
640 Note that the leading ``..`` makes the ``.. ACCEPTS:`` block a reST comment,
730 Use a plain comment ``# docstring inherited`` to denote the intention to reuse
801 formatted comment blocks are treated as ReST_ text, the code is
834 The first comment block is treated as ReST_ text. The other comment blocks
838 typically have more than one comment block (i.e.
839 :doc:`/tutorials/introductory/usage`). The first comment block
[all …]
/dports/textproc/py-rstfmt/rstfmt-5173b3cf68c9eaaf4b5d7fcb2e6c169c4f56f388/rstfmt/
H A Drstfmt.py22 import docutils.parsers.rst
95 def indent(self, n: int) -> "FormatContext": member in FormatContext
385 ctx = ctx.indent(w)
569 indent = 3 * ctx.line_block_depth
570 ctx = ctx.indent(indent)
571 prefix1 = "|" + " " * (indent - 1)
572 prefix2 = " " * indent
677 def comment(node: docutils.nodes.comment, ctx: FormatContext) -> line_iterator: member in Formatters
715 lines = fmt(body, ctx.indent(3))
741 parser = docutils.parsers.rst.Parser()
[all …]
/dports/www/searx/searx-1.0.0/utils/
H A Dfiltron.sh204 doc) rst-doc ;;
263 --comment 'Reverse HTTP proxy to filter requests' $SERVICE_USER
418 json.dump(j, rules, indent=2, sort_keys=True)
439 json.dump(j, rules, indent=2, sort_keys=True)
533 rst-doc() {
535 eval "echo \"$(< "${REPO_ROOT}/docs/build-templates/filtron.rst")\""
/dports/textproc/py-sphinx/Sphinx-3.5.2/doc/usage/restructuredtext/
H A Dbasics.rst1 .. highlight:: rst
18 <http://docutils.sourceforge.net/rst.html>`_. The "ref" links in this
56 roles. Refer to :ref:`rst-roles-alt` for more information.
63 the start of a paragraph and indent properly. The same goes for numbered
111 :ref:`rst-field-lists`)
528 footnotes above) is regarded as a comment (:duref:`ref <comments>`). For
531 .. This is a comment.
533 You can indent text after a comment start to form multiline comments::
537 is a comment.
539 Still in the comment.
[all …]
/dports/math/py-matplotlib2/matplotlib-2.2.4/doc/devel/
H A Ddocumenting_mpl.rst133 .. code-block:: rst
139 .. code-block:: rst
147 .. code-block:: rst
300 Much of the documentation lives in "docstrings". These are comment blocks
374 starting on the new line without any indent:
485 Sphinx by making it a ReST comment (i.e. use ``.. ACCEPTS:``):
618 formatted comment blocks are treated as ReST_ text, the code is
651 The first comment block is treated as ReST_ text. The other comment blocks
655 typically have more than one comment block (i.e.
656 :doc:`/tutorials/introductory/usage`). The first comment block
[all …]
/dports/devel/kf5-extra-cmake-modules/extra-cmake-modules-5.89.0/docs/manual/
H A Decm-developer.7.rst29 comment with a ``.rst:`` id after the opening bracket:
33 #[=======================================================================[.rst:
37 (docs/sphinx/ext/ecm.py has code to extract the rst text from a comment with
41 (and that reason should be noted in a comment), and lowercase should be used for
44 4 spaces is the generally-recommended indent, although there are several files
59 #[=======================================================================[.rst:
/dports/x11-toolkits/nanogui/nanogui-e9ec8a1a9861cf578d9c6e85a6420080aa715c03/docs/
H A Dcontributing.rst94 - You should indent by four spaces for things like ``param``, etc.
163 * comment is a bit longer and can span multiple lines, making sure
164 * to indent each new line.
197 well as Sphinx directives. You will need to use the ``\rst`` and ``\endrst``
205 * \rst
225 In normal reStructuredText, if you simply indent a block of code by four spaces
229 For code listings, **always** begin an ``\rst`` section and use ``.. code-block``
/dports/www/trac-devel/Trac-1.5.3/doc/utils/
H A Depydoc.css39 pre.py-doctest, pre.variable, pre.rst-literal-block { background: #eee;
61 p.indent-wrapped-lines { color: #999; font-size: 85%; margin: 0;
62 padding: 0 0 0 7em; text-indent: -7em;
64 p.indent-wrapped-lines code { color: #999; font-size: 115%; }
65 p.indent-wrapped-lines :link, p.indent-wrapped-lines :visited { border: none; }
118 .py-comment { color: #06f; font-style: italic; }
/dports/devel/geany-plugin-utilslib/geany-plugins-1.38/geanygendoc/
H A DChangeLog3 * docs/manual.rst, docs/manual.html:
7 * docs/manual.rst, docs/manual.html:
66 docs/help/manual.rst -> docs/manual.rst, src/ggd-plugin.c:
120 * docs/help/manual.rst:
155 * docs/help/manual.rst:
165 docs/help/manual.rst:
246 Show the "indent" preference in the plugin's preference dialog.
248 Indent the inserted comment according to the insertion position
249 indentation. This can be disabled by a (currently) hidden "indent"
285 to explicitly place the cursor in the generated comment.
[all …]
/dports/devel/geany-plugins-l10n/geany-plugins-1.38/geanygendoc/
H A DChangeLog3 * docs/manual.rst, docs/manual.html:
7 * docs/manual.rst, docs/manual.html:
66 docs/help/manual.rst -> docs/manual.rst, src/ggd-plugin.c:
120 * docs/help/manual.rst:
155 * docs/help/manual.rst:
165 docs/help/manual.rst:
246 Show the "indent" preference in the plugin's preference dialog.
248 Indent the inserted comment according to the insertion position
249 indentation. This can be disabled by a (currently) hidden "indent"
285 to explicitly place the cursor in the generated comment.
[all …]
/dports/devel/geany-plugin-pretty-printer/geany-plugins-1.38/geanygendoc/
H A DChangeLog3 * docs/manual.rst, docs/manual.html:
7 * docs/manual.rst, docs/manual.html:
66 docs/help/manual.rst -> docs/manual.rst, src/ggd-plugin.c:
120 * docs/help/manual.rst:
155 * docs/help/manual.rst:
165 docs/help/manual.rst:
246 Show the "indent" preference in the plugin's preference dialog.
248 Indent the inserted comment according to the insertion position
249 indentation. This can be disabled by a (currently) hidden "indent"
285 to explicitly place the cursor in the generated comment.
[all …]
/dports/devel/geany-plugin-projectorganizer/geany-plugins-1.38/geanygendoc/
H A DChangeLog3 * docs/manual.rst, docs/manual.html:
7 * docs/manual.rst, docs/manual.html:
66 docs/help/manual.rst -> docs/manual.rst, src/ggd-plugin.c:
120 * docs/help/manual.rst:
155 * docs/help/manual.rst:
165 docs/help/manual.rst:
246 Show the "indent" preference in the plugin's preference dialog.
248 Indent the inserted comment according to the insertion position
249 indentation. This can be disabled by a (currently) hidden "indent"
285 to explicitly place the cursor in the generated comment.
[all …]
/dports/devel/geany-plugin-tableconvert/geany-plugins-1.38/geanygendoc/
H A DChangeLog3 * docs/manual.rst, docs/manual.html:
7 * docs/manual.rst, docs/manual.html:
66 docs/help/manual.rst -> docs/manual.rst, src/ggd-plugin.c:
120 * docs/help/manual.rst:
155 * docs/help/manual.rst:
165 docs/help/manual.rst:
246 Show the "indent" preference in the plugin's preference dialog.
248 Indent the inserted comment according to the insertion position
249 indentation. This can be disabled by a (currently) hidden "indent"
285 to explicitly place the cursor in the generated comment.
[all …]
/dports/devel/geany-plugin-xmlsnippets/geany-plugins-1.38/geanygendoc/
H A DChangeLog3 * docs/manual.rst, docs/manual.html:
7 * docs/manual.rst, docs/manual.html:
66 docs/help/manual.rst -> docs/manual.rst, src/ggd-plugin.c:
120 * docs/help/manual.rst:
155 * docs/help/manual.rst:
165 docs/help/manual.rst:
246 Show the "indent" preference in the plugin's preference dialog.
248 Indent the inserted comment according to the insertion position
249 indentation. This can be disabled by a (currently) hidden "indent"
285 to explicitly place the cursor in the generated comment.
[all …]

12345678910>>...41