nim doc
doesn't use default nimdoc.cfg with config.nims in XDG_CONFIG_HOME
#9450
Labels
Documentation Generation
Related to documentation generation (but not content).
Since past few days I have started using
~/.config/nim/config.nims
and today I see another unexpected impact of that (first one being #9420).When running
nim doc
, it now doesn't seem to look at the defaultnimdoc.cfg
that gets installed with Nim.Example
Place a
config.nims
in~/,config/nim/
dir, and runnim doc
on any Nim file.Current Output
With
config.nims
in place, the nim-defaultnimdoc.cfg
is not read. I see below on doingnim doc foo.nim
:If I remove that
config.nims
, runningnim doc foo.nim
shows:Expected Output
I was expecting to see this instead:
Additional Information
Nim version:
Probably related: #9405
The text was updated successfully, but these errors were encountered: