-
Notifications
You must be signed in to change notification settings - Fork 27
Documentation Overhaul: MkDocs Website #1013
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…CI/CD for deployment
There was a problem hiding this comment.
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 completely overhauls the stac-server documentation by migrating from a monolithic README to a comprehensive MkDocs-powered documentation website hosted at stac-utils.github.io/stac-server. The content was first split into focused markdown files, then migrated to a full documentation site with enhanced content, diagrams, examples, and automated deployment.
Key changes:
- Created 12-page MkDocs documentation site with Material theme
- Added comprehensive usage examples, configuration reference, and architecture diagrams
- Set up automated GitHub Pages deployment with versioning via mike
- Streamlined README to serve as concise project landing page
Reviewed changes
Copilot reviewed 20 out of 22 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
mkdocs.yml |
MkDocs configuration with Material theme, navigation structure, and plugins |
requirements-docs.txt |
Python dependencies for building documentation (MkDocs, Material theme, extensions) |
.github/workflows/docs.yml |
GitHub Actions workflow for automated documentation deployment to GitHub Pages |
docs/**/*.md |
12 comprehensive documentation pages covering getting started, usage, configuration, deployment, reference, and about sections |
README.md |
Streamlined GitHub landing page with links to full documentation |
CHANGELOG.md |
Added unreleased entry documenting documentation overhaul |
serverless.example.yml |
Added commented configuration examples for CORS, extensions, authorization, and ingest settings |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jkeifer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really awesome and I love it.
I'm a bit confounded though on the use of a python docs tool with a node project. It seems like something like docusaurus would be more appropriate and integrate better than mkdocs. Maybe this is not a problem, even if it tingles my spidey sense?
I do have one thing to request: I could not figure out why there's a requirements-docs.txt file and a uv.lock file. Maybe this is just a matter of missing docs contrib documentation? Why doesn't the github action docs build use uv with the lock file? Is this intended to be committed? It's hard to know without docs contrib documentation...unless I merely missed that--there's a lot here and I couldn't read it all in depth--then just point me in that direction so I can answer my own questions.
Thanks for doing all this.
Overview
This PR completely overhauls the stac-server documentation through a two-stage refactoring:
This is purely a documentation restructuring and enhancement. All API functionality remains unchanged.
📚 What's New
Documentation Website
Enhanced Content
📝 Evolution of Changes
This PR went through two major phases:
Phase 1: README Refactoring
Phase 2: MkDocs Migration & Enhancement
🗂️ File Changes
Created Then Removed (intermediate refactoring step)
These files were created during the refactoring but ultimately migrated to
docs/:ARCHITECTURE.md→docs/reference/architecture.mdUSAGE.md→docs/usage/index.mdDEPLOYMENT.md→docs/deployment/index.mdCONFIGURATION.md→docs/configuration/index.mdCONTRIBUTING.md→docs/development/contributing.mdSECURITY.md→docs/about/security.mdKept in Root
README.md- Streamlined GitHub landing pageCHANGELOG.md- Symlinked fromdocs/about/changelog.mdLICENSE- Symlinked fromdocs/about/license.mdNew Files
mkdocs.yml- MkDocs configurationrequirements-docs.txt- Documentation build dependencies.github/workflows/docs.yml- Automated documentation deploymentdocs/- Complete documentation structure with 12 pages🔧 Technical Details
Build System
Documentation Structure
🧪 Testing
Documentation can be tested locally: