Skip to content

regression(1.04) nim doc main.nim generates broken html (no css) #12998

Closed
@timotheecour

Description

@timotheecour

nim doc main.nim generates broken html (css file absent)
regression possibly introduced in #12816

Example

real life example: https://disruptek.github.io/gittyup/gittyup.html
minimal example:

proc fun*()=
  ## some proc
  discard

Current Output

image

Expected Output

as in nim 1.0.4:
image

Possible Solution

  • either embed the css in html file or update instructions in nim --fullhelp for nim doc

Additional Information

D20191231T070930
chrome console shows:

nimdoc.css:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
dochack.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND

it used to show:

dochack.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
  • working in version 1.0.4
  • broken in b67dea7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions