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

Documentation update: add readthedocs with sphinx #84

Merged
merged 37 commits into from
Feb 7, 2025
Merged

Conversation

belsten
Copy link
Collaborator

@belsten belsten commented Nov 28, 2024

I've added sphinx support with autodoc and autosummary with utilizes inline code blocks to generate documentation. In addition to this, I've added three additional pages with provide background info:

  • docs/install.rst: goes though installation procedure
  • docs/quickstart.rst: provides high-level info regarding repo structure, and pointer to notebooks
  • docs/contributing.rst: info regarding how to contribute (largely from docs/contributing.md - which is now deleted - and includes some updates)

Updated the readme to provide pointers to these new resources and added some additional information about the repo.

I also updated the __init__.py such that they import library functionalities, such that tab autocomplete works in IPython.

@belsten belsten requested review from 9q9q and ivanov November 28, 2024 16:42
@belsten belsten added the documentation Improvements or additions to documentation label Dec 4, 2024
Copy link
Collaborator

@9q9q 9q9q left a comment

Choose a reason for hiding this comment

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

Thanks so much Alex, this is awesome!! Just some minor comments, mostly just to make sure all the documentation is up to date with the recent restructuring PRs and slight changes to installation setup etc.

I think we can continue to edit the wording in the documentation as we go but no need for any major changes in this PR.

README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docs/contributing.rst Show resolved Hide resolved
docs/index.rst Show resolved Hide resolved
docs/install.rst Show resolved Hide resolved
sparsecoding/inference/iht.py Outdated Show resolved Hide resolved
sparsecoding/inference/iht.py Show resolved Hide resolved
@ivanov ivanov requested a review from 9q9q February 7, 2025 23:33
@belsten belsten merged commit 2435951 into main Feb 7, 2025
2 checks passed
@belsten belsten deleted the documentation branch February 7, 2025 23:38
ivanov pushed a commit that referenced this pull request Feb 7, 2025
Recently merged documentation PR #84 contained incorrect installation
command causing readthedocs to fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants