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

Remove finufft-manual.pdf from git repo #221

Closed
janden opened this issue Jun 8, 2022 · 6 comments
Closed

Remove finufft-manual.pdf from git repo #221

janden opened this issue Jun 8, 2022 · 6 comments

Comments

@janden
Copy link
Collaborator

janden commented Jun 8, 2022

Right now, the manual is stored as a PDF in the repo. Given that this PDF weighs in about 2.4 MB and is replaced each time we do a release, this will make our git history quite large (right now, my .git folder is at 44 MB). Since the website already contains all the documentation, maybe we can remove this file from the repo? Alternatively, there may be a solution to host the PDF on the website instead (we could probably automate the process as part of the CI).

@ahbarnett
Copy link
Collaborator

Hmm, ok, maybe. I wanted a simple clone (or tarball) to include the manual, for non-git people. But hosting in the readthedocs would be ok too, and the README.md has a URL. I don't know how to auto-upload that (I set it up so make docs does everything apart from the triggering of readthedocs which is automatic; would like to keep it that way, so maybe a wput command in the make task?)
This 8-yr-long unresolved convo suggests it will not be easy:
readthedocs/readthedocs.org#1083
Any ideas welcome.

@lu1and10
Copy link
Member

lu1and10 commented Jun 10, 2022

Hmm, ok, maybe. I wanted a simple clone (or tarball) to include the manual, for non-git people. But hosting in the readthedocs would be ok too, and the README.md has a URL. I don't know how to auto-upload that (I set it up so make docs does everything apart from the triggering of readthedocs which is automatic; would like to keep it that way, so maybe a wput command in the make task?)
This 8-yr-long unresolved convo suggests it will not be easy:
readthedocs/readthedocs.org#1083
Any ideas welcome.

Not sure this is related to pdf format for readthedocs

One can put format tag in the configure file .readthedocs.yml to make readthedocs to generate pdf file
https://docs.readthedocs.io/en/stable/config-file/v2.html#formats

Then there will be a pdf url from readthedocs, something like https://buildmedia.readthedocs.org/media/pdf/finufft/latest/finufft.pdf
As discussed in https://stackoverflow.com/questions/50425740/how-to-find-the-pdf-version-of-a-read-the-docs-project

@lu1and10
Copy link
Member

lu1and10 commented Jun 10, 2022 via email

@janden
Copy link
Collaborator Author

janden commented Jun 13, 2022

Wow that's great… So we could just link to that from our README for people who visit the GitHub repo?

@ahbarnett
Copy link
Collaborator

ahbarnett commented Jun 13, 2022 via email

@ahbarnett
Copy link
Collaborator

Done. Complete rewrite of docs/README. Simplified make docs to only build what sphinx needs, no longer to run sphinx locally.

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

3 participants