Getting Started
Welcome to Igor's Knowledge Base! This guide will help you navigate, use, and contribute to this documentation site.
Overview
This knowledge base is built with MkDocs Material, providing a modern, searchable, and maintainable documentation experience.
How to Navigate
Using the Menu
- Use the top navigation tabs to browse different topic areas (Python, Git, etc.)
- Click on sections in the sidebar to access specific articles
- Use the search bar (top right) to find content quickly
Using Tags
Each article is tagged with relevant topics. You can:
- Browse all available tags on the search options
- Click on any tag to see related articles
- Use tags in the search to filter content
Example tags you'll find:
#python
- Python-related content#git
- Git and version control topics#flask
- Flask framework articles#tips
- Quick tips and tricks
How to Add New Pages/Notes
To add new content to the knowledge base:
-
Create a new Markdown file in the
docs/knowledge/
directory -
Add tags at the top of your file:
-
Use descriptive filenames based on content (e.g.,
python-decorators.md
,git-advanced-workflows.md
) -
Update navigation in
mkdocs.yml
if needed -
Follow existing content structure for consistency
How to Use Tags for Search
Tags make content discovery easier:
In Articles
Add tags at the top of each markdown file:
Searching with Tags
- Use the search bar to find tag-specific content
- Click on tags within articles to find related content
How to Preview the Site Locally
To preview changes before publishing:
Prerequisites
- Python 3.11+
- Poetry installed
Steps
- Install dependencies:
- Activate the virtual environment:
- Start the development server:
- Open your browser to
http://127.0.0.1:8000
The site will automatically reload when you make changes to markdown files.
Content Guidelines
When adding or editing content:
File Naming
- Use descriptive, lowercase names with hyphens
- Include the main topic:
python-data-structures.md
- Be specific:
git-rebase-interactive.md
vsgit-stuff.md
Content Structure
- Start with a clear title
- Add relevant tags
- Use proper markdown formatting
- Include code examples where helpful
- Add links to external resources
Tags Best Practices
- Use existing tags when possible
- Keep tags lowercase with hyphens for multi-word tags
- Be specific but not overly granular
- Common tag categories:
- Technology:
python
,git
,docker
- Type:
tips
,tutorial
,reference
- Level:
beginner
,intermediate
,advanced
Deployment
The site is automatically deployed to GitHub Pages when changes are merged to the main branch via GitHub Actions. No manual deployment is needed.
Questions or Issues
If you encounter any issues or have suggestions:
-
Check existing documentation first
-
Search through current articles and tags
-
Open an issue on the GitHub repository
Happy learning! 🚀