-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
35 populate documentation with tutorials and configuration guides (#37)
* docs: finalized docstrings and API documentation * docs: Added tutorial for case_f (time-dependent model with only forecast files). * docs: Finalized example tutoriales for cases a-f. fix: the configuration for plot_forecasts now accept `catalog: True` instead of a dictionary. * docs: Finalized tutorials G and H. Reworked local TOC for all examples. * docs: Updated frontpage * docs: Updated docs front page with useful links. * refac: Renamed examples folder to tutorials * docs: Updated installation section, modified rtd options gh: added a workflow to automatically add a tutorial zip file into any release files. * docs: Re-wrote Concepts document. * ft: time configuration can now be instantiated by explicit time windows docs: completed Experiment Configuration section, * docs: completed Model Configuration section, * docs: started the evaluation config documentation. Wrote parameters for gridded-type forecasts. * docs: Finished the evaluation config docs. Added .js to custom behavior of external links (now open in a new tab). Added sphinx-design for expandable tables. * docs: added postprocess documentation. fixed link to experimental concepts. ft: added simple method get_test to experiment class for users to quickly access an evaluation by its name. * docs: added postprocess documentation. fixed link to experimental concepts. ft: added simple method get_test to experiment class for users to quickly access an evaluation by its name * docs: added executing experiment documentation * build: added sphinx-design as dev requirement * ci: now build-docs install the requirements_dev packages, instead of hardcoded sphinx packages in the config file. * docs: added github context for html * docs: added experiment classes figure. removed deployment guide, placed it in roadmap. fixed typos. Added sidebar links (and dependencies).
- Loading branch information
Showing
114 changed files
with
3,014 additions
and
728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Release Tutorials | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
upload-tutorials: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Zip the tutorials folder | ||
run: | | ||
zip -r tutorials.zip tutorials/ | ||
- name: Upload the tutorials.zip to the release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: tutorials.zip | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* custom.js | ||
* | ||
* This script contains custom JavaScript modifications for the Sphinx documentation. | ||
* It can be expanded to include additional customizations related to behavior, | ||
* style, and functionality of the generated documentation. | ||
* | ||
* | ||
* Usage: | ||
* - Place this script in the _static directory of your Sphinx project. | ||
* - Include it in the html_js_files configuration in conf.py to load it automatically. | ||
* - Expand this file with other JavaScript customizations as needed. | ||
* | ||
* Author: Pablo Iturrieta | ||
* Date: 28.09.2024 | ||
*/ | ||
|
||
document.addEventListener("DOMContentLoaded", function () { | ||
// - Ensures that all external links open in a new tab by adding the target="_blank" | ||
// attribute to all links with the 'external' class (automatically applied by Sphinx). | ||
// - Adds rel="noopener noreferrer" for security purposes, ensuring the new page | ||
// does not have access to the originating window context (prevents security risks). | ||
// Select all external links in the documentation | ||
const links = document.querySelectorAll('a.external'); | ||
|
||
// Loop through all the links and set them to open in a new tab | ||
links.forEach(function (link) { | ||
link.setAttribute('target', '_blank'); | ||
link.setAttribute('rel', 'noopener noreferrer'); | ||
}); | ||
}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.