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

[WIP] Reorganize and update documentation #5059

Merged
merged 16 commits into from
Nov 24, 2021
Merged

Conversation

OriolAbril
Copy link
Member

@OriolAbril OriolAbril commented Oct 8, 2021

will close #4044 and will close #4894

  • what are the (breaking) changes that this PR makes? This will break a lot of links as once merged, latest (and after release stable) will stop having notebooks build within the docs, many pages will be renamed or moved...
  • important background, or details about the implementation. This is key GSoD work which also build on top of recent improvements around notebooks and versioned docs.
  • linting/style checks have been run
  • right before it's ready to merge, mention the PR in the RELEASE-NOTES.md. This will change the face of the website considerably, so it would be great to sync with major 4.0 release and advertize improved docs with the release

@martinacantaro
Copy link
Contributor

Still working on it, many TO-DOs and things to be fixed

Copy link
Member Author

@OriolAbril OriolAbril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quick review, tried to focus on fail fast comments on things that I think you are probably following the wrong path or lack some context. Hopefully this will prevent you from spending too much time on things that then need to be changed

docs/source/community.md Outdated Show resolved Hide resolved
docs/source/community.md Outdated Show resolved Hide resolved
docs/source/community.md Outdated Show resolved Hide resolved
docs/source/index.md Outdated Show resolved Hide resolved
docs/source/index.md Outdated Show resolved Hide resolved
docs/source/index.md Outdated Show resolved Hide resolved
docs/source/index.md Outdated Show resolved Hide resolved

# Citing PyMC

Use this to cite the library:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @michaelosthege we should probably add a mention to zenodo somewhere I think

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We mention it on the Github landing page IIRC

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zenodo is only mentioned like this in the readme: DOIs for specific versions are shown on Zenodo and under Releases

docs/source/installation.md Outdated Show resolved Hide resolved
@twiecki
Copy link
Member

twiecki commented Oct 9, 2021

Where do the conflicts come from?

Also, is there a place to see what it'd look like?

@OriolAbril
Copy link
Member Author

Where do the conflicts come from?

I started setting this up 1-2 months ago so it's probably renaming changes.

Also, is there a place to see what it'd look like?

Yes, all PRs have a preview of how will their docs look like, you have to search for the readthedocs check, wait until it finishes and click "Details"

@michaelosthege
Copy link
Member

While you're at it, can you fix the coverage badge link on the docs landing page?

@codecov
Copy link

codecov bot commented Oct 10, 2021

Codecov Report

Merging #5059 (8476e53) into main (140dab0) will increase coverage by 0.85%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5059      +/-   ##
==========================================
+ Coverage   78.08%   78.94%   +0.85%     
==========================================
  Files          88       88              
  Lines       14171    14248      +77     
==========================================
+ Hits        11066    11248     +182     
+ Misses       3105     3000     -105     
Impacted Files Coverage Δ
pymc/step_methods/hmc/integration.py 78.84% <0.00%> (-3.85%) ⬇️
pymc/bart/pgbart.py 95.14% <0.00%> (-1.10%) ⬇️
pymc/parallel_sampling.py 86.33% <0.00%> (-1.00%) ⬇️
pymc/step_methods/hmc/nuts.py 95.00% <0.00%> (-0.63%) ⬇️
pymc/tests/sampler_fixtures.py 90.76% <0.00%> (-0.48%) ⬇️
pymc/aesaraf.py 89.70% <0.00%> (-0.41%) ⬇️
pymc/distributions/multivariate.py 71.34% <0.00%> (-0.13%) ⬇️
pymc/gp/cov.py 98.07% <0.00%> (ø)
pymc/sampling_jax.py 0.00% <0.00%> (ø)
pymc/backends/arviz.py 89.55% <0.00%> (ø)
... and 11 more

api/smc
api/step_methods
api/inference
api/plots
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now we have a BART module #5058

Copy link
Contributor

@martinacantaro martinacantaro Oct 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, I was going to ask more questions about the api resources, including BART, because we've been talking a bit with @OriolAbril about what needs to be displayed for users, what needs to be displayed for devs and what doesn't need to be displayed at all.
We were basing the current API tree on the Architecture diagram, but that is probably out of date (as evidenced by it not including BART).
What other things should be included/excluded?
For example, does logprob submodule in distributions need to be added?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding comment by @Sayam753 :

Yes. At least, logp and logcdf functions should be exposed

@martinacantaro martinacantaro force-pushed the doc_skeleton_update branch 2 times, most recently from dfce56c to 667d83b Compare October 12, 2021 00:40
docs/source/learn/notebooks.md Outdated Show resolved Hide resolved
docs/source/learn/notebooks.md Outdated Show resolved Hide resolved
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

example doc restructure

working and hopefully illustrative doc skeleton

update requirements

WIP
Change log:
- Upload new PyMC logo
- Updated conf.py to pymc instead of pymc3
- Start configuring and populating index page
- Start configuring and populating learning page
- Start configuring and populating api page
- Updated API to follow the docs/Architecture.png layout
- Start configuring and populating learning page
- Fix typo in filename of "index legacy"

add community page, other minor changes

Continue restructuring the API
Delete conflicting files

example doc restructure

update requirements

update requirements and gitignore

some fixes

add changes introduced by pre-commit checks

fix community page title

update api for distributions

update gaussian process api

fix end of file

more changes

sponsor logos

sponsor logos cleanup, other changes

changes to satisfy pre-commit checks

requirements changes

minor changes

Add testimonials to docs homepage

remove sphinx panels and other changes

center buttons

add explanation of MAP to glassor

minor change

fix typo

minor changes

put content in videos and podcasts section. Change formatting of testimonials (width of 2 cards for better formating in narrow screens)

add code example to front page

revise some definitions (#5126)

minor changes

minor changes

WIP: organizing notebooks into learning section
martinacantaro and others added 2 commits November 16, 2021 01:49
- Add information for institutions in the Contributing section
- Center navbar
- Split the About section into a main page with multiple subpages
- Remove old reference to "developers" in the index toctree
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
docs/source/about/citing_pymc.md Outdated Show resolved Hide resolved

.. code-block:: none

@article{pymc,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like doi is missing here comparing with citation above

pages={e55},
year={2016},
publisher={PeerJ Inc.}
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add todo or note on clickup (might be done already) about adding zenodo here, the readme on pyms repo has the right citation info

let's face it, amazing!


TODO fix code
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More than fix ckde, use sphinx design buttons. Otherwise the next time bootstrap is updated the buttons will break again

"notfound.extension",
"sphinx_design",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sphinx desing looks duplicated

docs/source/contributing/jupyter_style.md Outdated Show resolved Hide resolved
docs/source/contributing/jupyter_style.md Outdated Show resolved Hide resolved
docs/source/contributing/jupyter_style.md Outdated Show resolved Hide resolved
docs/source/contributing/jupyter_style.md Outdated Show resolved Hide resolved
docs/source/index.md Outdated Show resolved Hide resolved
@martinacantaro martinacantaro linked an issue Nov 22, 2021 that may be closed by this pull request
@OriolAbril OriolAbril marked this pull request as ready for review November 24, 2021 02:47
@OriolAbril OriolAbril merged commit 99ec0ff into main Nov 24, 2021
@OriolAbril OriolAbril deleted the doc_skeleton_update branch April 7, 2022 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants