https://github.com/anderson-ufrj/cidadao.ai-docs
Official documentation hub for Cidadão.AI - A multi-agent AI system for Brazilian government transparency analysis. Features responsive design, multi-language support (PT-BR/EN-US), live API documentation, and automated updates.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.0%) to scientific vocabulary
Keywords
Repository
Official documentation hub for Cidadão.AI - A multi-agent AI system for Brazilian government transparency analysis. Features responsive design, multi-language support (PT-BR/EN-US), live API documentation, and automated updates.
Basic Info
- Host: GitHub
- Owner: anderson-ufrj
- License: mit
- Language: HTML
- Default Branch: main
- Homepage: https://anderson-ufrj.github.io/cidadao.ai-docs/
- Size: 4.42 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
📚 Cidadão.AI - Documentation
Central documentation hub for Brazilian government transparency analysis project
Hub central de documentação para projeto de análise de transparência governamental brasileira
English | Português
🇺🇸 English
Quick Start
```bash
Clone and serve documentation locally
git clone https://github.com/anderson-ufrj/cidadao.ai-docs cd cidadao.ai-docs python -m http.server 8000
Open: http://localhost:8000
```
Features
- Central documentation hub for all Cidadão.AI repositories
- Bilingual support (PT-BR/EN-US) with theme switching
- Live API documentation integration
- Responsive design with Tailwind CSS
- Auto-deployed to GitHub Pages
Links
- 🌐 Documentation Hub: https://anderson-ufrj.github.io/cidadao.ai-docs/
🇧🇷 Português
Início Rápido
```bash
Clone e sirva documentação localmente
git clone https://github.com/anderson-ufrj/cidadao.ai-docs cd cidadao.ai-docs python -m http.server 8000
Abra: http://localhost:8000
```
Funcionalidades
- Hub central de documentação para todos os repositórios Cidadão.AI
- Suporte bilíngue (PT-BR/EN-US) com alternância de tema
- Integração de documentação de API ao vivo
- Design responsivo com Tailwind CSS
- Auto-deploy para GitHub Pages
Links
- 🌐 Hub de Documentação: https://anderson-ufrj.github.io/cidadao.ai-docs/
🏗️ Architecture
Core Components
- Frontend Interface: Modern, responsive documentation hub
- API Documentation: Integrated FastAPI/Swagger documentation
- Multi-language Support: Portuguese (PT-BR) and English (EN-US)
- Theme System: Light/dark mode with persistent user preferences
Tech Stack
- Frontend: HTML5, CSS3, JavaScript ES6+
- Styling: Tailwind CSS via CDN
- Icons: Emoji-based iconography
- Documentation: FastAPI/Swagger via iframe integration
- Deployment: GitHub Pages
- Fonts: Inter font family
🚀 Quick Start
Prerequisites
- Modern web browser (Chrome 90+, Firefox 88+, Safari 14+)
- Local web server (for development)
Local Development
Clone the repository
bash git clone https://github.com/anderson-ufrj/cidadao.ai-docs.git cd cidadao.ai-docsServe locally ```bash
Using Python
python -m http.server 8000
# Using Node.js npx serve .
# Using PHP php -S localhost:8000 ```
- Open in browser
http://localhost:8000
GitHub Pages Deployment
The documentation is automatically deployed to GitHub Pages when changes are pushed to the main branch.
📁 Project Structure
cidadao.ai-docs/
├── index.html # Main documentation hub
├── openapi.json # API specification (auto-updated)
├── update-api-docs.sh # Manual update script
├── README.md # This file
├── LICENSE # MIT license
├── .github/
│ └── workflows/
│ └── update-api-docs.yml # Auto-update workflow
└── assets/ # Static assets (if any)
🔄 API Documentation Updates
The API documentation is automatically updated through multiple mechanisms:
1. Live Documentation (Primary)
The documentation hub uses an iframe that loads the live API docs directly from Hugging Face, ensuring always up-to-date information.
2. Automated Updates (GitHub Actions)
- Daily Updates: Runs at 6 AM UTC (3 AM BRT)
- Manual Trigger: Can be triggered manually from GitHub Actions tab
- Webhook Support: Can be triggered from backend repository updates
3. Manual Updates
For local development or immediate updates:
bash
./update-api-docs.sh
The workflow automatically: - Downloads the latest OpenAPI spec from the backend - Validates the JSON format - Commits changes only if the spec has been modified - Updates the documentation hub
🌐 Features
🎨 User Interface
- Responsive Design: Mobile-first approach with Tailwind CSS
- Theme Toggle: Light/dark mode with localStorage persistence
- Language Switch: PT-BR/EN-US with complete translations
- Smooth Navigation: Anchor-based scrolling with fixed header
📚 Documentation Sections
- Repositories: Links to all official GitHub repositories
- Important Links: Production deployments and resources
- API Documentation: Live API docs via iframe integration
- About Modal: Comprehensive project information
🔧 Technical Features
- Progressive Enhancement: Works without JavaScript
- Accessible Design: Semantic HTML with proper ARIA labels
- Performance Optimized: Minimal dependencies, CDN resources
- SEO Friendly: Proper meta tags and structured content
🔗 Related Repositories
| Repository | Description | Status | |------------|-------------|--------| | cidadao.ai-frontend | Next.js web application | ✅ Active | | cidadao.ai-backend | FastAPI backend system | ✅ Active | | cidadao.ia-models | ML models and scripts | 🔄 Development |
🤝 Contributing
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
Development Guidelines
- Code Style: Follow existing HTML/CSS/JS patterns
- Responsive Design: Test on multiple screen sizes
- Accessibility: Maintain semantic HTML structure
- Performance: Keep dependencies minimal
- Internationalization: Update both PT-BR and EN-US translations
Reporting Issues
When reporting issues, please include: - Browser version and OS - Steps to reproduce - Expected vs actual behavior - Screenshots if applicable
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
👨💻 Author
Anderson Henrique da Silva
📧 andersonhs27@gmail.com | 💻 GitHub
Owner
- Name: Anderson Henrique Da Silva
- Login: anderson-ufrj
- Kind: user
- Location: Brasil
- Company: Ruvixx, Inc
- Twitter: neural_thinker
- Repositories: 1
- Profile: https://github.com/anderson-ufrj
GitHub Events
Total
- Push event: 34
- Create event: 1
Last Year
- Push event: 34
- Create event: 1
Dependencies
- actions/checkout v4 composite
- ad-m/github-push-action master composite