-
Notifications
You must be signed in to change notification settings - Fork 51
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
Update docs (Closes #110) #111
Conversation
Codecov Report
@@ Coverage Diff @@
## master #111 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 55 55
=========================================
Hits 55 55
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
I updated the .pre-commit-config.yaml to use modern formatters on the documentation. Unfortunately, this also changed a few non-documentation files. |
I updated the build process for the documentation. Now you can run |
Cool, thanks! I am not sure I fully understand why the figures are still present in the repo then? If they are re-created each time |
Yes, I missed that. They are deleted now! |
…ut generated figures into directory ignored by Git.
9338ce4
to
51c12cb
Compare
Hi @timmens, thanks again for all your work! I went through everything now, looks great! Just a couple of wishes / updates:
Thanks!!!! |
* Move to Python 3.11 * Add conda-build to environment again * Update environments * Update conda-incubator arguments to run with Py3.11 * Update some version numbers. * Use 3.11 as default in Github Actions matrix, remove 3.8 * Switch to python-kaleido and use 3.10 for docs * Remove Python 3.7 and 3.8 from setup.cfg * Use pip Kaleido for documentation * Use Python 3.9 for documentation Co-authored-by: Hans-Martin von Gaudecker <hmgaudecker@gmail.com>
I handled the first and third tasks. I didn't manage to find a solution for the second. It seems that pytask has to do stuff with the task before inferring the dependencies. I will talk to Tobi about this next time I see him. We have one more problem. Automatic generation of the images that are used in the documentation is not possible after all. I misused the conf.py file to run pytask before readthedocs starts building the documentation. However, some images are generated using latex, which is not installed on the servers used by readthedocs. I think the best solution is that we simply upload the generated pictures. What do you think? |
…talled automatically apparently.
Yes, cool, perfect solution. Only annoying thing for me is running the tests locally from a dedicated environment, I get:
The environment is there, but in a different location:
Do you see a quick solution for that? Else I'd be fine with merging this as is, thanks for all your work! |
On my machine (macOS) it runs locally (just tried). I haven't checked on my Linux. If it is a Windows problem then I don't have a quick solution. I can check if it runs on my Linux tomorrow. If yes I'd say we merge and open an issue. |
Ubuntu 22.04 -- key is to start pytest from the econ-project-templates environment.
|
No description provided.