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

DocumenterFlavor not defined #43

Closed
odunbar opened this issue Aug 24, 2021 · 10 comments
Closed

DocumenterFlavor not defined #43

odunbar opened this issue Aug 24, 2021 · 10 comments
Assignees

Comments

@odunbar
Copy link
Collaborator

odunbar commented Aug 24, 2021

Trying to compile docs offline (and using the new installation instructions) gives me this error

>julia --project=docs docs/make.jl 
ERROR: LoadError: UndefVarError: DocumenterFlavor not defined
...
in expression starting at /home/odunbar/Dropbox/Caltech/CESjl/EnsembleKalmanProcesses.jl/docs/make.jl:22
@navidcy
Copy link
Contributor

navidcy commented Aug 24, 2021

Yeap. I fixed this in #41. :)

@odunbar
Copy link
Collaborator Author

odunbar commented Aug 24, 2021

My mistake! was on the wrong branch!

@odunbar odunbar closed this as completed Aug 24, 2021
@navidcy
Copy link
Contributor

navidcy commented Aug 24, 2021

Literate.markdown(example_filepath, OUTPUT_DIR; flavor = Literate.DocumenterFlavor())

@navidcy
Copy link
Contributor

navidcy commented Aug 24, 2021

Oh, I see. No prob!

@odunbar odunbar reopened this Aug 24, 2021
@navidcy
Copy link
Contributor

navidcy commented Aug 24, 2021

So is this still outstanding?

@odunbar
Copy link
Collaborator Author

odunbar commented Aug 24, 2021

I am on your ncc/literate-... branch and that is where i get the error compiling the docs locally

The line you link is exactly where the error appears as it doesn't know what DocumeterFlavor is

@navidcy
Copy link
Contributor

navidcy commented Aug 24, 2021

Try deleting docs/Manifest.toml and then re-instantiating following instructions here: https://clima.github.io/EnsembleKalmanProcesses.jl/dev/installation_instructions/#Building-the-documentation-locally

Most probably you have installed an older version of Literate.jl before the flavor kwarg was implemented?

@odunbar
Copy link
Collaborator Author

odunbar commented Aug 24, 2021

Will do!

@navidcy
Copy link
Contributor

navidcy commented Aug 24, 2021

@odunbar
Copy link
Collaborator Author

odunbar commented Aug 24, 2021

OK deleting the Manifest seems to have done the trick. Cheers! I'll close this

@odunbar odunbar closed this as completed Aug 24, 2021
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