mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-30 04:40:16 +00:00
## Code Changes - NamedEntityRecognizer: Added methods, confidence_threshold, merge_overlapping, include_standard_types - RelationExtractor: Added relation_types, bidirectional, confidence_threshold, max_distance - EventDetector: Added event_types, extract_participants, extract_location, extract_time - TripleExtractor: Added include_temporal, include_provenance - CoreferenceResolver: Added resolve() alias method - Removed deprecated build() functions from all modules ## Documentation Changes - docs/reference/semantic_extract.md: Added parameter tables and detailed examples - docs/reference/kg.md: Updated examples after build removal - docs/reference/embeddings.md: Updated examples after build removal - docs/concepts.md: Updated GraphRAG and core concepts examples - docs/LIBS_README.md: Updated all references to build functions
Semantica Documentation
This documentation is built with MkDocs - a fast, simple static site generator for project documentation.
Features
- Great themes available - Using Material theme with beautiful design
- Easy to customize - Custom CSS and theme configuration
- Preview as you work - Built-in dev server with auto-reload
- Host anywhere - Static HTML that works on GitHub Pages, Netlify, etc.
Quick Start
1. Install Dependencies
pip install -r requirements-docs.txt
2. Preview Locally
mkdocs serve
Then open http://127.0.0.1:8000 in your browser.
3. Build for Production
mkdocs build
This creates a site/ directory with static HTML files ready to deploy.
Project Structure
semantica/
├── mkdocs.yml # MkDocs configuration
├── requirements-docs.txt # Python dependencies
├── docs/ # Documentation source files
│ ├── index.md # Homepage
│ ├── *.md # Documentation pages
│ ├── css/
│ │ └── custom.css # Custom styling
│ └── assets/
│ └── img/
│ └── semantica_logo.png
└── site/ # Generated site (created by mkdocs build)
Configuration
Main configuration is in mkdocs.yml:
- Site metadata
- Theme settings (Material theme)
- Navigation structure
- Markdown extensions
- Plugins
Adding New Pages
- Create a new
.mdfile indocs/ - Add it to
nav:section inmkdocs.yml - Run
mkdocs serveto preview
Customization
Theme
Edit mkdocs.yml under theme: section to customize:
- Color scheme
- Logo
- Features enabled
- Icons
Styling
Edit docs/css/custom.css for custom styles.
Deployment
GitHub Pages
mkdocs gh-deploy
Netlify/Vercel
- Build:
mkdocs build - Deploy the
site/directory
Manual
- Run
mkdocs build - Upload
site/folder contents to your web server
Development Workflow
- Edit markdown files in
docs/ - Run
mkdocs serveto preview - Changes auto-reload in browser
- When ready, build with
mkdocs build
Benefits
- ✅ Python-based (fits with your Python project)
- ✅ Beautiful Material theme
- ✅ Fast and lightweight
- ✅ Easy to customize
- ✅ Great search functionality
- ✅ Mobile responsive