Documentation Structure & Workflow
generic skill
Loading actions...
Skill content
Main instructions and any bundled files for this skill.
Documentation Structure & Workflow
Follow these conventions when creating or editing documentation:
-
Docs live in docs/ ⢠Use Markdown (
.md) files.
⢠Images and other assets go in docs/_static/. -
Section Folders mirror MkDocs navigation (see mkdocs.yml): ⢠š Get Started ā docs/getstarted/
⢠š Core Concepts ā docs/concepts/
⢠𧪠Experimental ā docs/experimental/
⢠š ļø How-to Guides ā docs/howtos/
⢠š References ā docs/references/
⢠Community ā docs/community/Place new pages in the appropriate folder and update
mkdocs.ymlnav:so the page appears in navigation. -
Notebook-to-Markdown ⢠Convert notebooks to Markdown with docs/ipynb_to_md.py.
⢠Commit the generated.md; notebooks themselves should not live indocs/. -
Local preview / build ⢠Run
make build-docsto build HTML,make serve-docsto preview locally (defined in DEVELOPMENT.md). -
Style & Assets ⢠Use relative links (
../) within docs.
⢠Reference images via_static/ā¦paths so they work in both dev and hosted docs.
⢠Custom templates/CSS live in docs/extra/ ā avoid editingmaterialtheme defaults directly. -
API References (mkdocstrings) ⢠Always use public API paths in
[ClassName][ragas.module.ClassName]references. ⢠Check what's exported in__init__.pyā if a class isn't in__all__, mkdocstrings can't link to it. ⢠Example: Use[BasePrompt][ragas.prompt.BasePrompt]not[BasePrompt][ragas.prompt.base.BasePrompt]or internal module paths. -
Do not modify generated or third-party files in
_static/,extra/overrides/, orextra/components/without good reason.
Formatting Guidelines
- When introducing a list with text ending in a colon (e.g., "This will:"), always add a blank line before the first list item.
- In a numbered list, do not add any new line between the items.
Related Skills
Frontend Typescript Linting.mdc
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend li...
2. Apply Deepthink Protocol (reason about dependencies
risks