docstyle.rst: Do not export it to HTML as a standalone doc (#19083)
.. This doc is included in contributing.rst. Fixes https://github.com/nim-lang/Nim/issues/14593.
This commit is contained in:
parent
12d2901e89
commit
efaaa38eef
1 changed files with 4 additions and 1 deletions
|
|
@ -111,7 +111,10 @@ proc getRst2html(): seq[string] =
|
||||||
for a in walkDirRecFilter("doc"):
|
for a in walkDirRecFilter("doc"):
|
||||||
let path = a.path
|
let path = a.path
|
||||||
if a.kind == pcFile and path.splitFile.ext == ".rst" and path.lastPathPart notin
|
if a.kind == pcFile and path.splitFile.ext == ".rst" and path.lastPathPart notin
|
||||||
["docs.rst", "nimfix.rst"]:
|
["docs.rst", "nimfix.rst",
|
||||||
|
"docstyle.rst" # docstyle.rst shouldn't be converted to html separately;
|
||||||
|
# it's included in contributing.rst.
|
||||||
|
]:
|
||||||
# maybe we should still show nimfix, could help reviving it
|
# maybe we should still show nimfix, could help reviving it
|
||||||
# `docs` is redundant with `overview`, might as well remove that file?
|
# `docs` is redundant with `overview`, might as well remove that file?
|
||||||
result.add path
|
result.add path
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue