-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.qmd
More file actions
65 lines (44 loc) · 2.28 KB
/
index.qmd
File metadata and controls
65 lines (44 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Great Docs
A documentation site generator for Python packages. Run `great-docs init` in your project directory and get a complete documentation site with auto-generated API reference, CLI docs, and modern styling.
## Install
```bash
pip install great-docs
```
## Quick Start
```bash
cd your-python-package
great-docs init # detect your package and generate config
great-docs build # generate and render the site
great-docs preview # view at localhost:3000
```
## What It Does
Great Docs inspects your Python package to generate a full documentation site:
- **API Reference**: classes, functions, methods, and attributes organized into structured pages with parameter tables, return types, examples, and source links
- **CLI Reference**: Click-based CLIs documented automatically with terminal-style help output
- **Landing Page**: your README transformed into a homepage with a metadata sidebar
- **User Guide**: narrative documentation from your `user_guide/` directory
- **Custom Sections**: recipes, blog posts, tutorials, or any other content you add
Everything is rendered by [Quarto](https://quarto.org/) into a static site you can host anywhere.
## Site Features
- Dark mode toggle with persistent preference
- Gradient navbar themes (8 presets)
- GitHub widget with live star and fork counts
- Sidebar search filter for large APIs
- Source links to GitHub for every documented item
- Responsive layout for mobile and desktop
- Announcement banners (dismissible, styled)
- `llms.txt` and `llms-full.txt` for AI documentation indexing
- Agent Skills generation ([agentskills.io](https://agentskills.io/) compliant)
## Configuration
All options live in `great-docs.yml`. The `init` command generates this for you. See the [Configuration Guide](user-guide/configuration.qmd) for the full reference.
## Deploy to GitHub Pages
```bash
great-docs setup-github-pages
```
Creates a GitHub Actions workflow that builds and publishes your site on every push to `main`.
## Learn More
- [User Guide](user-guide/installation.qmd) — setup, configuration, theming, and deployment
- [Recipes](recipes/hide-internal-symbols.qmd) — step-by-step guides for common tasks
- [API Reference](reference/index.qmd) — Great Docs' own API documentation
## License
MIT. See [LICENSE](license.qmd) for the full text.