Kludge for 'make docs' to produce pretty nim manuals

why:
  Some helper file will not be generated by the nim document gereator,
  so they have been stashed from a later nim version to be provided when
  missing.

  This problem was known with an earlier nim version (see here
  https://github.com/nim-lang/Nim/issues/8952) but was reported solved.
  Maybe we need a second look into that.
This commit is contained in:
Jordan Hrycaj 2022-01-18 13:14:59 +00:00 committed by zah
parent 1eb79c34c6
commit 3f0139c5b6
3 changed files with 2916 additions and 1 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -121,10 +121,12 @@ docs/ex/%.png : %.png
@mkdir -p $(dir $@)
@set -x; cp "$<" "$@"
docs/dochack.js docs/nimdoc.out.css:
cp docs.static/$(notdir $@) $@
.PHONY: docs-index-helper
.SILENT: docs-index-helper
docs-index-helper:
docs-index-helper: docs/dochack.js docs/nimdoc.out.css
nim=$(NIM_EXE); \
$$nim --version | sed q ; set -x ;\
$$nim --skipProjCfg buildIndex -o:docs/theindex.html \