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
parent 9e3960e83d
commit 8b26b3ad0d
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.
## 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:
##
## .. code::nim

View File

@@ -142,9 +142,6 @@
## See `packages/docutils/rstgen module <rstgen.html>`_ to know how to
## 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
## .. _RST reference: https://docutils.sourceforge.io/docs/user/rst/quickref.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.
##
## **Note:** Import ``packages/docutils/rstast`` to use this module
import strutils, json

View File

@@ -38,8 +38,6 @@
## * The same goes for footnotes/citations links: they point to themselves.
## No backreferences are generated since finding all references of a footnote
## 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,
algorithm, parseutils