Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand All @@ -40,7 +40,7 @@ jobs:

- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
if: github.ref == 'refs/heads/main'

- name: Build documentation
Expand All @@ -51,7 +51,7 @@ jobs:
mkdocs build --clean --strict

- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
if: github.ref == 'refs/heads/main'
with:
path: ./site
Expand All @@ -66,4 +66,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
6 changes: 3 additions & 3 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ graph TB
end

subgraph "OAuth 2.1 Server"
AR[/api/oauth/register]
AT[/api/oauth/token]
AZ[/oauth/authorize]
AR["Client Registration<br/>/api/oauth/register"]
AT["Token Endpoint<br/>/api/oauth/token"]
AZ["Authorization<br/>/oauth/authorize"]
end

subgraph "MCP Server"
Expand Down
18 changes: 5 additions & 13 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ plugins:
- minify:
minify_html: true

# Hooks
hooks:
- docs/hooks.py
# Hooks (commented out for now)
# hooks:
# - docs/hooks.py

# Extensions
markdown_extensions:
Expand All @@ -96,9 +96,7 @@ markdown_extensions:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
- pymdownx.emoji
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
Expand All @@ -112,9 +110,7 @@ markdown_extensions:
repo: mcp-oauth-sample
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.snippets:
auto_append:
- includes/mkdocs.md
- pymdownx.snippets
- pymdownx.superfences:
custom_fences:
- name: mermaid
Expand All @@ -123,9 +119,6 @@ markdown_extensions:
- pymdownx.tabbed:
alternate_style: true
combine_header_slug: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
Expand All @@ -135,7 +128,6 @@ nav:
- Home: index.md
- Getting Started:
- Setup Guide: setup.md
- Quick Start: index.md#quick-start
- Architecture:
- System Design: architecture.md
- Security Model: security.md
Expand Down
11 changes: 2 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@
mkdocs>=1.5.3
mkdocs-material>=9.4.0

# Plugins
# Essential plugins
mkdocs-minify-plugin>=0.7.1
mkdocs-redirects>=1.2.1

# Extensions
pymdown-extensions>=10.3.1
markdown-callouts>=0.3.0

# Optional enhancements
mkdocs-git-revision-date-localized-plugin>=1.2.0
mkdocs-git-committers-plugin-2>=1.2.0
mkdocs-awesome-pages-plugin>=2.9.2
pymdown-extensions>=10.3.1
1 change: 1 addition & 0 deletions site/404.html

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions site/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
title: MCP OAuth Sample Documentation
description: OAuth 2.1 server implementation with MCP integration
theme: minima

# Navigation
navbar:
- title: Setup
url: /setup
- title: Architecture
url: /architecture
- title: Security
url: /security
- title: Analytics
url: /analytics
- title: API Reference
url: /api
- title: Deployment
url: /deployment
- title: Development
url: /development
- title: Troubleshooting
url: /troubleshooting

# Enable plugins
plugins:
- jekyll-feed
- jekyll-sitemap

# Markdown settings
markdown: kramdown
highlighter: rouge
153 changes: 153 additions & 0 deletions site/analytics/index.html

Large diffs are not rendered by default.

347 changes: 347 additions & 0 deletions site/api/index.html

Large diffs are not rendered by default.

615 changes: 615 additions & 0 deletions site/architecture/index.html

Large diffs are not rendered by default.

Binary file added site/assets/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions site/assets/javascripts/bundle.56ea9cef.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions site/assets/javascripts/bundle.56ea9cef.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions site/assets/javascripts/lunr/min/lunr.ar.min.js

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions site/assets/javascripts/lunr/min/lunr.da.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions site/assets/javascripts/lunr/min/lunr.de.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading