Skip to content

Build docs for kale-linear#14

Merged
shuo-zhou merged 5 commits into
mainfrom
doc
Jun 2, 2026
Merged

Build docs for kale-linear#14
shuo-zhou merged 5 commits into
mainfrom
doc

Conversation

@shuo-zhou

@shuo-zhou shuo-zhou commented May 22, 2026

Copy link
Copy Markdown
Member

Add a Sphinx docs and update README.md

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds initial Sphinx documentation for the Kale-Linear library and refreshes the README to provide clearer installation, usage examples, and development instructions.

Changes:

  • Add a Sphinx docs skeleton (config, index/toctree, installation/usage pages, API reference via autodoc).
  • Expand and modernize README.md (features, quick-start examples, public API, dev workflow, docs build steps).
  • Update dependency lists and ignore generated docs build artifacts.

Reviewed changes

Copilot reviewed 9 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
requirements.txt Adds tensorly to the top-level requirements list.
README.md Rewrites README with installation, quick-start examples, and development/docs build instructions.
docs/source/index.rst Adds documentation landing page and toctree.
docs/source/installation.rst Adds installation instructions for PyPI/dev and docs build steps.
docs/source/usage.rst Adds usage examples for transformers and estimators.
docs/source/api.rst Adds autodoc-based API reference for main classes.
docs/source/conf.py Adds Sphinx configuration and an autodoc skip hook for sklearn metadata-routing helpers.
docs/requirements.txt Adds docs build requirements.
docs/Makefile Adds make html/clean/help for Sphinx builds on Unix-like systems.
docs/make.bat Adds Sphinx build helper for Windows.
docs/source/_templates/.gitkeep Ensures templates directory exists in git.
docs/source/_static/.gitkeep Ensures static directory exists in git.
.gitignore Ignores generated docs build output and generated API stubs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/requirements.txt Outdated
Comment on lines +1 to +3
nbsphinx
nbsphinx-link
sphinx

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Removed nbsphinx and nbsphinx-link

Comment thread README.md Outdated
pre-commit run --all-files
```

3. Run tests cases to verify functionality:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed typo

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 20 changed files in this pull request and generated 5 comments.

Comment thread .readthedocs.yaml Outdated
Comment thread docs/source/installation.rst Outdated
Comment thread README.md
Comment thread README.md
Comment thread docs/source/installation.rst

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 20 changed files in this pull request and generated no new comments.

@shuo-zhou shuo-zhou merged commit eb81370 into main Jun 2, 2026
1 check passed
@shuo-zhou shuo-zhou deleted the doc branch June 2, 2026 13:15
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

Successfully merging this pull request may close these issues.

2 participants