Spaces:
Running on CPU Upgrade
Download web_docs/docs/development/archive/readme-migration.md from CommunityOne/open-navigator: direct link, hf CLI and curl.
- Browser
- Download file 4.34 kB
-
https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/web_docs/docs/development/archive/readme-migration.md
- Command line
-
hf download hf://spaces/CommunityOne/open-navigator/web_docs/docs/development/archive/readme-migration.md
-
curl -L -o readme-migration.md https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/web_docs/docs/development/archive/readme-migration.md
sidebar_position: 14
README Migration Summary
Yes Completed
The README has been restructured to focus on how to run the code while moving business content to Docusaurus.
What Changed
Old README (~900 lines):
- Mixed business content with technical setup
- Extensive data source descriptions
- Detailed feature explanations
- Long advocacy and policy sections
- Integration details
New README (~350 lines):
- Quick start guide
- Installation options (3 methods)
- Usage examples (CLI, API, Python)
- Basic project structure
- Links to documentation for details
Business Content Already in Docusaurus
The following sections from the old README are already documented in Docusaurus:
| Topic | Docusaurus Location |
|---|---|
| Features & Overview | website/docs/intro.md |
| Architecture | website/docs/intro.md |
| Nonprofit Data Sources | website/docs/data-sources/nonprofit-sources.md |
| Census & Jurisdiction Data | website/docs/data-sources/census-data.md |
| Budget-to-Minutes Analysis | website/docs/guides/political-economy.md |
| Accountability Strategy | website/docs/guides/accountability-strategy.md |
| Video Sources | website/docs/data-sources/video-sources.md |
| Open Source Integrations | website/docs/integrations/overview.md |
| Deployment Options | website/docs/deployment/ directory |
| HuggingFace Datasets | website/docs/data-sources/huggingface-datasets.md |
Content to Potentially Add to Docusaurus
The following sections from the old README could be added if not already covered:
1. Policy Topics Monitored
Old README Content:
- Water fluoridation initiatives
- School dental screening programs
- Medicaid dental coverage
- Dental clinic funding
- Community dental programs
- Children's dental health
Suggested Location: Create website/docs/guides/policy-topics.md
2. Advocacy Materials Generation
Old README Content:
- Personalized emails
- Talking points
- Social media content
- Policy briefs
Suggested Location: Create website/docs/guides/advocacy-materials.md
3. Advocacy Heatmap
Old README Content:
- Geographic distribution
- Urgency levels (Critical, High, Medium, Low)
- Topic concentration
- Timeline view
Suggested Location: Expand website/docs/dashboard.md or create website/docs/guides/heatmap.md
4. Related Organizations
Old README Content:
- GroundVue partnership
- Shared goals
- Government accountability
Suggested Location: Create website/docs/about/partners.md
New README Structure
# Title & Badges
## Documentation Links
## What It Does (brief)
## Architecture (brief)
## Quick Start
- Prerequisites
- Installation (3 options)
- Access Points
## Usage
- CLI Examples
- API Examples
- Python API
## Project Structure
## Deployment Options
## Testing
## Configuration
## Contributing
## Documentation Links
## License & Support
How to Access Documentation
Start Documentation Site:
cd website
npm start
# Open http://localhost:3000
Documentation Organization:
/docs/intro.md- Main introduction/docs/data-sources/- All data source details/docs/guides/- How-to guides/docs/deployment/- Deployment options/docs/integrations/- Integration guides/docs/development/- Development docs
Next Steps (Optional)
If you want to add the remaining business content to Docusaurus:
- Policy Topics:
# Create new page
touch website/docs/guides/policy-topics.md
- Advocacy Materials:
touch website/docs/guides/advocacy-materials.md
- Heatmap Details:
# Add to existing dashboard.md or create new
touch website/docs/guides/heatmap.md
- Update Sidebars:
Edit
website/sidebars.tsto add new pages to navigation
Benefits
For Developers:
- Yes README is now a quick-start guide
- Yes Easy to find installation steps
- Yes Clear usage examples
- Yes Less scrolling to find technical info
For Users:
- Yes Comprehensive documentation in dedicated site
- Yes Searchable content
- Yes Better organization by topic
- Yes Version-controlled documentation
Old README Backup
The original README has been saved as README_OLD.md for reference.