Skip to content

Commit

Permalink
docstyle.rst: Do not export it to HTML as a standalone doc (nim-lang#…
Browse files Browse the repository at this point in the history
…19083)

.. This doc is included in contributing.rst.

Fixes nim-lang#14593.
  • Loading branch information
kaushalmodi authored and PMunch committed Mar 28, 2022
1 parent b1308d7 commit 64fa5d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/kochdocs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ proc getRst2html(): seq[string] =
for a in walkDirRecFilter("doc"):
let path = a.path
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
# `docs` is redundant with `overview`, might as well remove that file?
result.add path
Expand Down

0 comments on commit 64fa5d3

Please sign in to comment.