mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 21:04:11 +00:00
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:
parent
1eb79c34c6
commit
3f0139c5b6
1957
nimbus/docs.static/dochack.js
Normal file
1957
nimbus/docs.static/dochack.js
Normal file
File diff suppressed because it is too large
Load Diff
956
nimbus/docs.static/nimdoc.out.css
Normal file
956
nimbus/docs.static/nimdoc.out.css
Normal file
File diff suppressed because one or more lines are too long
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user