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
2 changes: 1 addition & 1 deletion skills/docshelf-build/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license: MIT
metadata:
author: Robert Stone
source: https://github.com/rjstone/docshelf-plugin
version: "0.5.0"
version: "0.5.1"
---

# docshelf-build
Expand Down
2 changes: 1 addition & 1 deletion skills/docshelf-build/scripts/build_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import re
import sys

VERSION = "0.5.0"
VERSION = "0.5.1"
# the built-docvol format written to meta.json; docshelf reads formats up to
# the one it knows. Bump it only for a change older docshelf cannot read.
DOCVOL_FORMAT = 1
Expand Down
5 changes: 3 additions & 2 deletions skills/docshelf-build/scripts/build_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ def _candidates(src: str) -> Tuple[List[str], List[str], bool]:


def detect(src: str, opener=None, sleep: Optional[Callable[[float], None]] = None) -> Detection:
"""Look for objects.inv and llms.txt at src (a URL or local path) and
pick the build type: Sphinx first, then llms.txt, else none."""
"""Look for objects.inv, a Doxygen index (search/ or menudata.js) and
llms.txt at src (a URL or local path) and pick the build type: Sphinx
first, then llms.txt, then Doxygen, else none."""
invs, llmss, is_url = _candidates(src)
fetch = open_url_source(opener=opener, sleep=sleep, delay=0.2) if is_url else None
tried: List[Tuple[str, str]] = []
Expand Down
3 changes: 2 additions & 1 deletion skills/docshelf-build/scripts/build_doxygen.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ def _decode(data: bytes) -> str:

def read_search_index(get: Getter) -> DoxyIndex:
"""Entries from search/searchdata.js and the per-category, per-letter
search/<name>_<hex>.js files (never all_*). A missing or unreadable
search/<name>_<hex>.js files. The all_* files are read last, and only
for entries that no category listed. A missing or unreadable
letter file is a warning; a missing searchdata.js or no entries at all
is a DoxygenFormatError."""
idx = DoxyIndex("search")
Expand Down
2 changes: 1 addition & 1 deletion skills/docshelf/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license: MIT
metadata:
author: Robert Stone
source: https://github.com/rjstone/docshelf-plugin
version: "0.9.0"
version: "0.9.1"
credits: "DevDocs, devdocs-mcp, Zeal"
---

Expand Down
2 changes: 1 addition & 1 deletion skills/docshelf/scripts/shelf_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from typing import Callable, Dict, Iterator, List, Optional, Tuple
from urllib.parse import unquote

VERSION = "0.9.0"
VERSION = "0.9.1"
PROJECT_FILE = ".docshelf.json"


Expand Down
2 changes: 1 addition & 1 deletion skills/docshelf/scripts/shelf_mcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _positional(p: shelf_cli.Param) -> bool:


def _tool_params(c: shelf_cli.Command) -> List[shelf_cli.Param]:
if c.name == "notes": # read-only over MCP: no --path
if c.name == "notes": # no --path over MCP (it prints a server-side path); set and delete still write
return [p for p in c.params if p.flags[0] != "--path"]
return c.params

Expand Down
3 changes: 2 additions & 1 deletion skills/docshelf/scripts/shelf_render.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""HTML -> text blocks for docshelf: headings as '#' lines, <pre> fenced,
list items as '- ', tables as ' | ' rows. Pure functions, stdlib only."""
list items as '- ', tables as ' | ' rows. Pure functions; no third-party
packages (the standard library and shelf_core)."""
import re
from dataclasses import dataclass
from html.parser import HTMLParser
Expand Down
4 changes: 2 additions & 2 deletions skills/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"skills": [
{
"name": "docshelf",
"version": "0.9.0",
"version": "0.9.1",
"files": [
"SKILL.md",
"assets/allowlist.txt",
Expand All @@ -26,7 +26,7 @@
},
{
"name": "docshelf-build",
"version": "0.5.0",
"version": "0.5.1",
"files": [
"BUILD-doxygen.md",
"BUILD-llmstxt.md",
Expand Down