test: the react docs site and the server's DOCS_SITE come from two sources
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, react
- Domain
- documentation, testing
Research direction
Read zensical.toml, scripts/site-url.js, packages/pivotkit-server/package.json, and src/options/branding.js to trace how each docs URL is sourced. Find the repository's existing test setup and add a test that compares the built-in docs site URL with the server's DOCS_SITE. Done means the test passes when they match and fails if either value drifts.
Written by the indexing model from the issue text.
Description
pivotkit-react's built-in docs site __PIVOTKIT_DOCS__ comes from site_url in zensical.toml (scripts/site-url.js); the server's DOCS_SITE comes from homepage in packages/pivotkit-server/package.json (src/options/branding.js). Since #1185 the viewer page leaves docs-url out when the docs base equals DOCS_SITE, so if the two values drift apart, the help links another site than the server. Today both name the same site and no test keeps them equal. Proposal: a repo test that compares them.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 1
- Avg merge
- 3h 41m
- Merged PRs (30d)
- 504
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eizedev/pivotkit
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
test(browser): viewer spec can match two drag handles in WebKitPossibly taken @AnasuyaGuptha claimed this today. Openarea:tests
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
eizedev/pivotkit#1159 · 1 comment ·
Maintainers usually reply within 1 day
-
area:react bug
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
Too-much-data text contradicts the support line when a proxy answers 413Possibly taken @harshita-jangra claimed this 1 day ago. Openarea:react bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
eizedev/pivotkit#1151 · 1 comment ·
Maintainers usually reply within 1 day
-
area:docs documentation
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
All issues in eizedev/pivotkit
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Siderite/lichessTools#1929 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
good first issue help wanted static
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
blindtk/personal-site#278 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
solidjs/solid-router#757 ·
Maintainers usually reply within 1 day
-
bug repro-ready
Difficulty 1/5 Under an hour Newbie friendliness 84/100
mksglu/context-mode#1435 · 1 comment ·