Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ While content is the heart of the project, the quality of the content needs to r
- Only then submit a PR referencing the approved issue.


### Translations

We welcome contributions that improve translations of the DISCOVER Cookbook.

- Please follow the [Translation Guide](https://discover-cookbook.numfocus.org/translation_guide.html) for detailed instructions.
- Ensure that translated content remains faithful to the original intent.
- If you’d like to suggest a new language, open a [discussion](https://github.com/numfocus/DISCOVER-Cookbook/discussions) first.


### Bug Fixes

For technical issues with the book:
Expand Down
11 changes: 11 additions & 0 deletions ci/build_website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,14 @@ rm -rf DISCOVER/_tags/*

echo "Building $LANGUAGE version..."
WEBSITE_VERSION="$VERSION" WEBSITE_LANGUAGE="$LANGUAGE" sphinx-build -b html DISCOVER/ DISCOVER/_build/html


# Install dependencies
pip install -r requirements.txt
pip install sphinx-intl

# Build English site
sphinx-build -b html DISCOVER/ DISCOVER/_build/html -D language=en

# Build Spanish site (translations live in locales/es/)
sphinx-build -b html DISCOVER/ DISCOVER/_build/html/es -D language=es