Skip to content

How a Personal Notes File Grew into the AI Wiki Knowledge Portal

Cover: How a Personal Notes File Grew into the AI Wiki Knowledge Portal

Summary

The AI Wiki Portal started as a local file of AI term notes. I moved the notes to a MkDocs Material dictionary site, and then expanded it to a portal with a blog, cases, search, and chatbot.

Technology Stack

Technology Role
MkDocs + Material Static site, theme, search
Markdown All content
Python Generation and deployment scripts
DeepSeek (Cherry Studio) Co-author of content and structure
lunr.js Full-text search with Russian support
PHP Server-side widgets: "Ask the library", feedback
FTP Deployment of built site

Context and Task

I was studying AI and documenting term definitions in a local file: what is LoRA, how does RAG differ from fine-tuning, what does temperature mean. Over time, the file grew, and searching through it became inconvenient. The task was to move the notes to a structured dictionary site. Initially, the project solved a personal task—to systematize my own knowledge. The transformation into a public resource came later.

Solution: MkDocs Material Instead of Custom Site

I did not start from scratch. For a knowledge base, MkDocs with the Material theme was ideal: - content—regular Markdown files, easy to write and edit; - navigation and menu—from one config mkdocs.yml; - search, dark theme, responsive—out of the box; - build—one command, static HTML output, easy to host. This was the right choice for the task: minimal infrastructure, maximum time for content. The site lives in the D:\ai-wiki folder, builds to site/, and deploys via FTP to a standard hosting with PHP.

Collaborative Work with Assistant

The key part of the process—working with DeepSeek through Cherry Studio. The assistant participated in development: helped with section structure, wrote articles, suggested design and layout. Final decisions were made by me, while the assistant handled the routine: formulations, navigation, generation of similar pages. For collaborative work, strict file handling rules were established.

How It Works

docs/                  — content (Markdown, built to site/)
  glossary/            — 263 terms with accordion by letters
  blog/posts/          — blog articles
  cases/               — case portfolio
  prompts/             — prompt tree for 7+ models and LVM
  javascripts/         — lunr search + widget "Ask the library"
  stylesheets/extra.css — all custom styles
overrides/             — footer, main, 404 templates
scripts/               — generation scripts
secrets/               — keys (outside git and deployment)
mkdocs.yml             — navigation, plugins, JS
Navigation in mkdocs.yml is the site map: Dictionary, AI and Models, Practice, Prompts, Blog, Cases, Check Yourself, and subcategories from philosophy to robotics.

Timeline

  1. Notes. Terms were recorded in a local file.
  2. Idea. Make a dictionary site instead of one file.
  3. Launch. MkDocs + Material, local project folder, first sections.
  4. Collaborative Work. DeepSeek helped with structure, navigation, and articles.
  5. Publication. Domain and hosting purchased, first deployment.
  6. Growth. Prompts, tools, LLMOps, blog, cases, quiz, 263-term glossary added.
  7. Automation and SEO. Search, tags, RSS, sitemap, JSON-LD, Yandex.Metrica, cookie banner.

Problems Encountered

1. Entire Style File Accidentally Erased

Once while trying to add styles, the tool overwrote extra.css entirely: there were over a thousand lines, and only eighteen remained. The site was left without styling. Lesson: for file additions—only append or point-wise replacement, never overwrite entirely. This rule is now documented in the project instructions.

2. Cyrillic Broke in Terminal

PowerShell messed up Russian strings when displaying. Fixed by explicitly setting encoding before commands and avoiding writing Russian strings via heredoc—only through UTF-8 files.

3. Pages Did Not Appear in Menu

Errors in nav led to articles being on the site but not in the menu. After several such cases, building became a mandatory step before deployment: mkdocs build --strict does not pass broken links.

4. Russian Tags Broke Tag Navigation

Tags in front matter must be only in English. When Cyrillic appeared in tags, links to tags broke. Now this is checked by check_tags.py before each deployment.

When the site grew, internal links exceeded three thousand. This cannot be manually checked, so check_links.py appeared—it goes through all links and catches broken ones before publication.

Results

Now this is a working portal, not just a dictionary: - 263-term glossary with search and letter accordion; - blog with covers and RSS; - case portfolio section; - prompt tree for DeepSeek, Claude, ChatGPT, Gemini, Qwen, Llama, Mistral, and LVM; - widget "Ask the library": DeepSeek + lunr, with rate limiting and logging; - quiz "Check Yourself"; - SEO: sitemap, Open Graph, JSON-LD (Organization, Article, FAQ), Yandex.Metrica, cookie banner; page titles optimized for search. The project grew from a note systematization task to a public portal used by others.

What I Learned

  1. Start with a real task. A project that solves a personal task is easier to bring to completion.
  2. Do not overwrite files entirely. One wrong call, and a thousand lines of styles are gone.
  3. Check before deployment, not after. Tags, links, and build—three mandatory steps that prevent broken site publication.
  4. Keep secrets separate. Keys are outside the repository and deployment.
  5. Rules are better than memory. Project instructions are a way to avoid repeating the same mistakes.
  6. Keep a fresh backup. After major changes—archive the project. This is the only source of recovery if something goes wrong.

What's Next

  • Populate the glossary and blog.
  • Close topics from widget questions.
  • Develop case portfolio.

See Also