This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Description
Hi,
We facing new error after upgrading to latest version.
Error
debug: Now looking for apidoc config files
debug: Now looking for package.json
debug: Now looking for apidoc.json
debug: Found file: path\to\apidoc.json
debug: Now looking for apidoc.config.js
debug: Now looking for header
debug: Found file: path\to\header.md
debug: Reading header file: header.md
error: Can not read: header.md
debug: Error: Can not read: header.md
- I censored the path to files
Steps to reproduce
We added header.md file in config file for example
"header": {
"filename" : "header.md"
}
The header.md file locate on the root folder of the apidoc\input
Seems that you trying to looking the header in the wrong path.
Maybe on this part of the code: https://github.com/apidoc/apidoc/compare/0.50.1...0.50.2#diff-e940db824fd38ce6d7405b4c6c09dda96482eb01cc7b1f453b24235795b85a2c
Information
- Version of apidoc: 0.50.2
- Operating system: Windows
- Node version: 6.14.10
- Browser (e.g. firefox, chrome): not relevant