mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-28 17:41:45 +00:00
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:
@@ -1,4 +0,0 @@
|
||||
version = "0.10.0"
|
||||
author = "Andreas Rumpf"
|
||||
description = "Nim's reStructuredText processor."
|
||||
license = "MIT"
|
||||
7
lib/packages/docutils/docutils.nimble.old
Normal file
7
lib/packages/docutils/docutils.nimble.old
Normal 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"
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user