Skip to content

Conversation

@bruAristimunha
Copy link
Collaborator

No description provided.

google-labs-jules bot and others added 24 commits September 28, 2025 22:42
This commit adds extensive documentation to the `eegdash` repository.

- Adds NumPy-style docstrings to all public functions, methods, and classes across all modules and sub-packages.
- Clarifies the purpose, parameters, and return values for all documented code.
Merge pull request #153 from sccn/develop

last details about the documentation
This commit adds a time estimation feature for all tutorials in the documentation. This is achieved by creating a custom Sphinx extension that calculates the median reading time for each tutorial and displays it at the top of the page.

The following changes were made:
- Created a new Sphinx extension `sphinx_time_estimation.py` to calculate the reading time.
- Created a new module `custom_gallery.py` to override the default `sphinx-gallery` behavior and display the reading time.
- Modified `docs/source/conf.py` to include the new extension and module.
- Fixed the build errors and verified that the changes are working as expected.
This commit adds a time estimation feature for all tutorials in the documentation. This is achieved by creating a custom Sphinx extension that calculates the median reading time for each tutorial and displays it at the top of the page.

The following changes were made:
- Created a new Sphinx extension `sphinx_time_estimation.py` to calculate the reading time.
- Created a new module `custom_gallery.py` to override the default `sphinx-gallery` behavior and display the reading time.
- Modified `docs/source/conf.py` to include the new extension and module.
- Fixed the build errors and verified that the changes are working as expected.
This commit refactors the time estimation feature to use Sphinx's templating system instead of monkey-patching `sphinx-gallery`. This approach is more robust and maintainable.

The following changes were made:
- Removed the `custom_gallery.py` file and the corresponding import from `conf.py`.
- Updated `sphinx_time_estimation.py` to correctly traverse the `doctree` and exclude code blocks from the word count.
- Created a new `page.html` template to display the estimated reading time.
- Corrected reStructuredText formatting in tutorial files to resolve build errors.
[DOC] Add time estimation for tutorials
Add Comprehensive Codebase Documentation
@bruAristimunha bruAristimunha merged commit 3d84796 into main Oct 4, 2025
14 checks passed
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