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

Question: How does $(EXPORTS) work? #2032

Closed
fsaad opened this issue Feb 3, 2023 · 2 comments
Closed

Question: How does $(EXPORTS) work? #2032

fsaad opened this issue Feb 3, 2023 · 2 comments

Comments

@fsaad
Copy link
Contributor

fsaad commented Feb 3, 2023

The doc string of the Documenter module uses $(EXPORTS) to automatically generate a list of names exported by the module:

When I try to replicate this code in a fresh project (say Example.jl), I receive the error

~/Example.jl/docs% julia make.jl
ERROR: LoadError: UndefVarError: EXPORTS not defined

How can I access the EXPORTS variable? I could not find it defined anywhere in the Documenter.jl repository:

~/Documenter.jl% git grep 'EXPORTS'
src/Documenter.jl:11:$(EXPORTS)
@mortenpi
Copy link
Member

mortenpi commented Feb 3, 2023

@fsaad
Copy link
Contributor Author

fsaad commented Feb 3, 2023

Thanks @mortenpi, I will close the issue.

@fsaad fsaad closed this as completed Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants