Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Specified markdown mainpage '...md' has not been defined as input file #10110

Closed
melroy89 opened this issue Jun 4, 2023 · 6 comments
Labels
bug Markdown Markdown translation input related issue

Comments

@melroy89
Copy link

melroy89 commented Jun 4, 2023

Describe the bug

Regression impact:

error: Specified markdown mainpage '../doxygen_mainpage.md' has not been defined as input file (warning treated as error, aborting now)

However, I did specify this file also as INPUT=.... See my config below.

With an older Doxygen version the build went fine. And yes, the ../ is intentional, since I'm within a sub-folder (build directory).

Expected behavior

No error message and successful Doxygen build.

Screenshots
image

To Reproduce

  1. Upgrade to the latest Doxygen version (=1.9.7).
  2. Use a custom markdown mainpage using USE_MDFILE_AS_MAINPAGE
  3. Provide the markdown also within the INPUT
  4. Error!

See config: Doxyfile.conf.tar.gz

Version

Doxygen v1.9.7 (latest atm)

Additional context

v1.9.3 used to work fine, until this binary was not available anymore, so I needed to upgrade see commit.

Aside from the screenshot, you can see the same error appear in GitHub Actions: https://github.com/vasild/cpp-ipfs-http-client/actions/runs/5171107038/jobs/9314441295

@albert-github albert-github added bug Markdown Markdown translation input related issue labels Jun 5, 2023
albert-github added a commit to albert-github/doxygen that referenced this issue Jun 5, 2023
…as not been defined as input file

The filename to be used should be the full qualified filename / filename with absolute path as otherwise the file is not found.
@albert-github
Copy link
Collaborator

I've just pushed a proposed patch, pull request #10112

You can overcome the problem by using in your Doxyfile constructs like: @CMAKE_SOURCE_DIR@/doxygen_mainpage.md and use the construct configure_file of CMake. This makes your Doxyfile also independent of the place where the build directory is located.

@melroy89
Copy link
Author

melroy89 commented Jun 5, 2023

Thank you for the PR!

Workaround impl. vasild/cpp-ipfs-http-client#67

doxygen added a commit that referenced this issue Jun 6, 2023
issue #10110 Regression: Specified markdown mainpage '...md' has not been defined as input file
@melroy89
Copy link
Author

melroy89 commented Jun 6, 2023

PR is merged.

@melroy89 melroy89 closed this as completed Jun 6, 2023
@albert-github albert-github added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Jun 7, 2023
@albert-github
Copy link
Collaborator

Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release).

@albert-github albert-github reopened this Jun 7, 2023
@melroy89
Copy link
Author

melroy89 commented Jun 7, 2023

Sorry..

@doxygen
Copy link
Owner

doxygen commented Aug 25, 2023

This issue was previously marked 'fixed but not released',
which means it should be fixed in doxygen version 1.9.8.
Please verify if this is indeed the case. Reopen the
issue if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).

@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Aug 25, 2023
@doxygen doxygen closed this as completed Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Markdown Markdown translation input related issue
Projects
None yet
Development

No branches or pull requests

3 participants