Only show beta releases in drop-down selectively

- Add docs on dependency management
- Add manager method for versions in drop-down
- Add model method for getting version parts
- Standardize version names in fixtures
- Change manager method used to get versions for dropdown
- Change where ordering happens
- Fix test
This commit is contained in:
Lacey Williams Henschel
2023-10-18 10:53:06 -07:00
committed by Lacey Henschel
parent 30cafd6b0b
commit 4f4e44ae1a
11 changed files with 128 additions and 33 deletions

View File

@@ -1,5 +1,7 @@
# Documentation for the Boost Website
- [API Documentation](./api.md) - We don't have many API endpoints, but the ones we do have are documented here
- [Dependency Management](./dependencies.md)
- [Development Setup Notes](./development_setup_notes.md)
- [Environment Variables](./env_vars.md)
- [Example Files](./examples/README.md) - Contains samples of `libraries.json`. `.gitmodules`, and other files that Boost data depends on
@@ -7,4 +9,3 @@
- [Management Commands](./commands.md)
- [Retrieving Static Content from the Boost Amazon S3 Bucket](./static_content.md)
- [Syncing Data about Boost Versions and Libraries with GitHub](./syncing_data_with_github.md)
- [API Documentation](./api.md) - We don't have many API endpoints, but the ones we do have are documented here

9
docs/dependencies.md Normal file
View File

@@ -0,0 +1,9 @@
# Dependency Management
## How to add a new Python dependency
1. Run `just down` to kill your running containers
1. Add the package to `requirements.in`
1. Run `just pip-compile`, which will add the dependency to `requirements.txt`
1. Run `just rebuild` to rebuild your Docker image to include the new dependencies
2. Run `just up` and continue with development