Skip to content

Commit b5003d5

Browse files
authored
Merge pull request #5 from armish/claude/publish-checklist-011CUr1PZ1LxHbCQLDrqUEqR
Publishing Requirements and Setup
2 parents 82e836c + aaf9b4c commit b5003d5

6 files changed

Lines changed: 716 additions & 3 deletions

File tree

.Rbuildignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@
99
^\.git$
1010
^\.claude$
1111
^.*\.Rcheck$
12+
^_pkgdown\.yml$
13+
^docs$
14+
^pkgdown$
15+
^cran-comments\.md$
16+
^IMPROVEMENT_PLAN\.md$
17+
^codecov\.yml$

.github/workflows/pkgdown.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
release:
9+
types: [published]
10+
workflow_dispatch:
11+
12+
name: pkgdown
13+
14+
jobs:
15+
pkgdown:
16+
runs-on: ubuntu-latest
17+
# Only restrict concurrency for non-PR jobs
18+
concurrency:
19+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
20+
env:
21+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
22+
permissions:
23+
contents: write
24+
steps:
25+
- uses: actions/checkout@v3
26+
27+
- uses: r-lib/actions/setup-pandoc@v2
28+
29+
- uses: r-lib/actions/setup-r@v2
30+
with:
31+
use-public-rspm: true
32+
33+
- uses: r-lib/actions/setup-r-dependencies@v2
34+
with:
35+
extra-packages: any::pkgdown, local::.
36+
needs: website
37+
38+
- name: Build site
39+
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
40+
shell: Rscript {0}
41+
42+
- name: Deploy to GitHub pages 🚀
43+
if: github.event_name != 'pull_request'
44+
uses: JamesIves/github-pages-deploy-action@v4.4.1
45+
with:
46+
clean: false
47+
branch: gh-pages
48+
folder: docs

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ inst/examples/*.log
2020
# Temporary files
2121
*~
2222
*.swp
23-
*.swo
23+
*.swo
24+
25+
# pkgdown
26+
docs/
27+
pkgdown/

DESCRIPTION

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ RoxygenNote: 7.3.2
1717
Imports:
1818
plumber,
1919
jsonlite
20-
Suggests:
20+
Suggests:
2121
testthat (>= 3.0.0),
22-
httr
22+
httr,
23+
knitr,
24+
rmarkdown
2325
Config/testthat/edition: 3
26+
VignetteBuilder: knitr

_pkgdown.yml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
url: https://armish.github.io/plumber2mcp/
2+
template:
3+
bootstrap: 5
4+
bootswatch: flatly
5+
bslib:
6+
primary: "#0054AD"
7+
border-radius: 0.5rem
8+
btn-border-radius: 0.25rem
9+
10+
home:
11+
title: "plumber2mcp • Add MCP Support to Plumber APIs"
12+
description: >
13+
Transform your Plumber APIs into AI-accessible tools using the
14+
Model Context Protocol (MCP)
15+
16+
navbar:
17+
structure:
18+
left: [intro, reference, articles, tutorials, news]
19+
right: [search, github]
20+
components:
21+
home: ~
22+
intro:
23+
text: Get Started
24+
href: articles/getting-started.html
25+
reference:
26+
text: Reference
27+
href: reference/index.html
28+
articles:
29+
text: Articles
30+
menu:
31+
- text: Getting Started
32+
href: articles/getting-started.html
33+
news:
34+
text: News
35+
href: news/index.html
36+
github:
37+
icon: fab fa-github fa-lg
38+
href: https://github.com/armish/plumber2mcp
39+
aria-label: GitHub
40+
41+
reference:
42+
- title: "Main Functions"
43+
desc: "Core functions for adding MCP support to Plumber APIs"
44+
contents:
45+
- pr_mcp
46+
- pr_mcp_http
47+
- pr_mcp_stdio
48+
49+
- title: "Resources"
50+
desc: "Functions for adding MCP resources to expose R content"
51+
contents:
52+
- pr_mcp_resource
53+
- pr_mcp_help_resources
54+
55+
- title: "Prompts"
56+
desc: "Functions for adding MCP prompts to guide AI interactions"
57+
contents:
58+
- starts_with("pr_mcp_prompt")
59+
60+
articles:
61+
- title: "Getting Started"
62+
navbar: ~
63+
contents:
64+
- getting-started
65+
66+
footer:
67+
structure:
68+
left: developed_by
69+
right: built_with
70+
components:
71+
built_with: >
72+
Built with <a href="https://pkgdown.r-lib.org/">pkgdown</a>
73+
and the <a href="https://modelcontextprotocol.io/">Model Context Protocol</a>
74+
75+
authors:
76+
Bulent Arman Aksoy:
77+
href: https://github.com/armish

0 commit comments

Comments
 (0)