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

Incorrect warning: "@meta block has an unsupported keyword argument: CurrentModule" since v1.2.0 #2364

Closed
tkemmer opened this issue Nov 29, 2023 · 3 comments

Comments

@tkemmer
Copy link
Contributor

tkemmer commented Nov 29, 2023

Documenter v1.2.0 throws a warning when encountering the CurrentModule keyword in a @meta block,
although the keyword still seem to exist and work as before (and is still shown in the documentation):

┌ Warning: In src/index.md:1-3: `@meta` block has an unsupported keyword argument: CurrentModule
└ @ Documenter ~/.julia/packages/Documenter/ifiMq/src/expander_pipeline.jl:298

The warning occurs for each document containing something like this:

```@meta
CurrentModule = MyModule
...

I think this might be a typo in

https://github.com/JuliaDocs/Documenter.jl/blob/master/src/expander_pipeline.jl#L296

The code checks against :Currentmodule instead of :CurrentModule before generating the warning.

@fredrikekre
Copy link
Member

Do you want to make a PR?

@tkemmer
Copy link
Contributor Author

tkemmer commented Nov 29, 2023

Sure! I'll prepare one.

@fredrikekre
Copy link
Member

Fixed by #2365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants