remove docutils.nimble (not a real nimble package, and affected canonical imports) (#17544)

* remove docutils.nimble (not a real nimble package, and affected canonical imports)

* cleanup redundant references
This commit is contained in:
Timothee Cour 2021-03-29 03:46:53 -07:00 • committed by GitHub
commit 8b26b3ad0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 13 deletions

View file

@ -1,4 +0,0 @@
version = "0.10.0"
author = "Andreas Rumpf"
description = "Nim's reStructuredText processor."
license = "MIT"

View file

@ -0,0 +1,7 @@
# xxx disabled this as this isn't really a nimble package and it affects logic
# used to compute canonical imports, refs https://github.com/nim-lang/Nim/pull/16999#issuecomment-805442914
version = "0.10.0"
author = "Andreas Rumpf"
description = "Nim's reStructuredText processor."
license = "MIT"

View file

@ -11,8 +11,6 @@
## Currently only few languages are supported, other languages may be added. ## Currently only few languages are supported, other languages may be added.
## The interface supports one language nested in another. ## The interface supports one language nested in another.
## ##
## **Note:** Import `packages/docutils/highlite` to use this module
##
## You can use this to build your own syntax highlighting, check this example: ## You can use this to build your own syntax highlighting, check this example:
## ##
## .. code::nim ## .. code::nim

View file

@ -142,9 +142,6 @@
## See `packages/docutils/rstgen module <rstgen.html>`_ to know how to ## See `packages/docutils/rstgen module <rstgen.html>`_ to know how to
## generate HTML or Latex strings to embed them into your documents. ## generate HTML or Latex strings to embed them into your documents.
## ##
## .. Tip:: Import ``packages/docutils/rst`` to use this module
## programmatically.
##
## .. _quick introduction: https://docutils.sourceforge.io/docs/user/rst/quickstart.html ## .. _quick introduction: https://docutils.sourceforge.io/docs/user/rst/quickstart.html
## .. _RST reference: https://docutils.sourceforge.io/docs/user/rst/quickref.html ## .. _RST reference: https://docutils.sourceforge.io/docs/user/rst/quickref.html
## .. _RST specification: https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html ## .. _RST specification: https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html

View file

@ -8,8 +8,6 @@
# #
## This module implements an AST for the `reStructuredText`:idx: parser. ## This module implements an AST for the `reStructuredText`:idx: parser.
##
## **Note:** Import ``packages/docutils/rstast`` to use this module
import strutils, json import strutils, json

View file

@ -38,8 +38,6 @@
## * The same goes for footnotes/citations links: they point to themselves. ## * The same goes for footnotes/citations links: they point to themselves.
## No backreferences are generated since finding all references of a footnote ## No backreferences are generated since finding all references of a footnote
## can be done by simply searching for [footnoteName]. ## can be done by simply searching for [footnoteName].
##
## .. Tip: Import ``packages/docutils/rstgen`` to use this module
import strutils, os, hashes, strtabs, rstast, rst, highlite, tables, sequtils, import strutils, os, hashes, strtabs, rstast, rst, highlite, tables, sequtils,
algorithm, parseutils algorithm, parseutils