René's URL Explorer Experiment


Title: feat(serve): --base-path serves docs from a subpath to match GitHub pages by iamdanfox · Pull Request #47 · docsifyjs/docsify-cli · GitHub

Open Graph Title: feat(serve): --base-path serves docs from a subpath to match GitHub pages by iamdanfox · Pull Request #47 · docsifyjs/docsify-cli

X Title: feat(serve): --base-path serves docs from a subpath to match GitHub pages by iamdanfox · Pull Request #47 · docsifyjs/docsify-cli

Description: Before this PR Using a base-path in $docsify config makes doscify serve . unusable for local development - all requests just return 404. window.$docsify = { name: 'my-project', basePath: '/my-project', } After this PR I'll be able to run docsify serve . --base-path 'my-project' to replicate the behaviour of GitHub pages (which always uses a sub path, e.g. https://iamdanfox.github.io/my-project). fixes #32 cc @davestewart who originally filed the issue

Open Graph Description: Before this PR Using a base-path in $docsify config makes doscify serve . unusable for local development - all requests just return 404. window.$docsify = { name: 'my-project', ...

X Description: Before this PR Using a base-path in $docsify config makes doscify serve . unusable for local development - all requests just return 404. window.$docsify = { name: 'my-project&...

Opengraph URL: https://github.com/docsifyjs/docsify-cli/pull/47

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:18667a4d-5e67-375d-dbb5-d832dc75351f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9F56:1791D7:AE51F4:F13E5D:6AFD3E5E
html-safe-nonce6327a807929febfe06d0db4572813ed950ca1a023d8811da4572addfe2683f44
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjU2OjE3OTFENzpBRTUxRjQ6RjEzRTVEOjZBRkQzRTVFIiwidmlzaXRvcl9pZCI6IjEwMTQ0MTUyNDQ5NjY4Mzc4NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac60d47182353df95e3820883c7fc23cd06c0b311ffe70669c5a2905041ebb5dce
hovercard-subject-tagpull_request:231954809
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/docsifyjs/docsify-cli/pull/47/files
twitter:imagehttps://avatars.githubusercontent.com/u/3473798?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3473798?s=400&v=4
og:image:altBefore this PR Using a base-path in $docsify config makes doscify serve . unusable for local development - all requests just return 404. window.$docsify = { name: 'my-project', ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/docsifyjs/docsify-cli git https://github.com/docsifyjs/docsify-cli.git
octolytics-dimension-user_id40133106
octolytics-dimension-user_logindocsifyjs
octolytics-dimension-repository_id74482617
octolytics-dimension-repository_nwodocsifyjs/docsify-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id74482617
octolytics-dimension-repository_network_root_nwodocsifyjs/docsify-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/docsifyjs/docsify-cli/pull/47/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocsifyjs%2Fdocsify-cli%2Fpull%2F47%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocsifyjs%2Fdocsify-cli%2Fpull%2F47%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=docsifyjs%2Fdocsify-cli
Reloadhttps://github.com/docsifyjs/docsify-cli/pull/47/files
Reloadhttps://github.com/docsifyjs/docsify-cli/pull/47/files
Reloadhttps://github.com/docsifyjs/docsify-cli/pull/47/files
docsifyjshttps://github.com/docsifyjs
docsify-clihttps://github.com/docsifyjs/docsify-cli
Codehttps://github.com/docsifyjs/docsify-cli
Issues15 (15)https://github.com/docsifyjs/docsify-cli/issues
Pull requests11 (11)https://github.com/docsifyjs/docsify-cli/pulls
Actionshttps://github.com/docsifyjs/docsify-cli/actions
Projectshttps://github.com/docsifyjs/docsify-cli/projects
Security and qualityhttps://github.com/docsifyjs/docsify-cli/security
Insightshttps://github.com/docsifyjs/docsify-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fdocsifyjs%2Fdocsify-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdocsifyjs%2Fdocsify-cli%2Fissues%2Fnew%2Fchoose
iamdanfoxhttps://github.com/iamdanfox
docsifyjs:masterhttps://github.com/docsifyjs/docsify-cli/tree/master
iamdanfox:base-path-optionhttps://github.com/iamdanfox/docsify-cli/tree/base-path-option
Conversation 8 https://github.com/docsifyjs/docsify-cli/pull/47
Commits 1 https://github.com/docsifyjs/docsify-cli/pull/47/commits
Checks 0 https://github.com/docsifyjs/docsify-cli/pull/47/checks
Files changed https://github.com/docsifyjs/docsify-cli/pull/47/files
Please reload this pagehttps://github.com/docsifyjs/docsify-cli/pull/47/files
feat(serve): --base-path serves docs from a subpath to match GitHub pages https://github.com/docsifyjs/docsify-cli/pull/47/files#top
Show all changes 1 commit https://github.com/docsifyjs/docsify-cli/pull/47/files
37f323d feat(serve): --base-path serves docs from a subpath to match GitHub p… iamdanfox Nov 19, 2018 https://github.com/docsifyjs/docsify-cli/pull/47/commits/37f323dc43365715cee110f048de38c3292bd5b7
Clear filters https://github.com/docsifyjs/docsify-cli/pull/47/files
Please reload this pagehttps://github.com/docsifyjs/docsify-cli/pull/47/files
Please reload this pagehttps://github.com/docsifyjs/docsify-cli/pull/47/files
README.md https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
docsify https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-4c97a3e1d8ebb6b79b6ceccf613f13401b2545f9e440f72eb7b952367611d11e
README.md https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-0b5ca119d2be595aa307d34512d9679e49186307ef94201e4b3dfa079aa89938
serve.js https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-8ced549d18761844535ad2ed455b477c94aeda1e0eb7a20d0c255a896772204f
de.json https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-6a2c95614072314c3e3eac25a497f396bda8c07f1c629f2463ae488a2774b9f6
en.json https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-75cec8f4cb1f4b561fe1134a5d1544926be2bd8ddc0f06b8fe926309d88f1e2b
zh.json https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-887ab0f81702f5593f74a37d3302b0a2c8eb711e41030cf4a135c5141a926097
README.mdhttps://github.com/docsifyjs/docsify-cli/pull/47/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/docsifyjs/docsify-cli/blob/37f323dc43365715cee110f048de38c3292bd5b7/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/docsifyjs/docsify-cli/pull/47/{{ revealButtonHref }}
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
bin/docsifyhttps://github.com/docsifyjs/docsify-cli/pull/47/files#diff-4c97a3e1d8ebb6b79b6ceccf613f13401b2545f9e440f72eb7b952367611d11e
View file https://github.com/docsifyjs/docsify-cli/blob/37f323dc43365715cee110f048de38c3292bd5b7/bin/docsify
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/docsifyjs/docsify-cli/pull/47/{{ revealButtonHref }}
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-4c97a3e1d8ebb6b79b6ceccf613f13401b2545f9e440f72eb7b952367611d11e
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-4c97a3e1d8ebb6b79b6ceccf613f13401b2545f9e440f72eb7b952367611d11e
docs/README.mdhttps://github.com/docsifyjs/docsify-cli/pull/47/files#diff-0b5ca119d2be595aa307d34512d9679e49186307ef94201e4b3dfa079aa89938
View file https://github.com/docsifyjs/docsify-cli/blob/37f323dc43365715cee110f048de38c3292bd5b7/docs/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/docsifyjs/docsify-cli/pull/47/{{ revealButtonHref }}
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-0b5ca119d2be595aa307d34512d9679e49186307ef94201e4b3dfa079aa89938
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-0b5ca119d2be595aa307d34512d9679e49186307ef94201e4b3dfa079aa89938
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-0b5ca119d2be595aa307d34512d9679e49186307ef94201e4b3dfa079aa89938
lib/commands/serve.jshttps://github.com/docsifyjs/docsify-cli/pull/47/files#diff-8ced549d18761844535ad2ed455b477c94aeda1e0eb7a20d0c255a896772204f
View file https://github.com/docsifyjs/docsify-cli/blob/37f323dc43365715cee110f048de38c3292bd5b7/lib/commands/serve.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/docsifyjs/docsify-cli/pull/47/{{ revealButtonHref }}
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-8ced549d18761844535ad2ed455b477c94aeda1e0eb7a20d0c255a896772204f
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-8ced549d18761844535ad2ed455b477c94aeda1e0eb7a20d0c255a896772204f
tools/locales/de.jsonhttps://github.com/docsifyjs/docsify-cli/pull/47/files#diff-6a2c95614072314c3e3eac25a497f396bda8c07f1c629f2463ae488a2774b9f6
View file https://github.com/docsifyjs/docsify-cli/blob/37f323dc43365715cee110f048de38c3292bd5b7/tools/locales/de.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/docsifyjs/docsify-cli/pull/47/{{ revealButtonHref }}
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-6a2c95614072314c3e3eac25a497f396bda8c07f1c629f2463ae488a2774b9f6
tools/locales/en.jsonhttps://github.com/docsifyjs/docsify-cli/pull/47/files#diff-75cec8f4cb1f4b561fe1134a5d1544926be2bd8ddc0f06b8fe926309d88f1e2b
View file https://github.com/docsifyjs/docsify-cli/blob/37f323dc43365715cee110f048de38c3292bd5b7/tools/locales/en.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/docsifyjs/docsify-cli/pull/47/{{ revealButtonHref }}
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-75cec8f4cb1f4b561fe1134a5d1544926be2bd8ddc0f06b8fe926309d88f1e2b
tools/locales/zh.jsonhttps://github.com/docsifyjs/docsify-cli/pull/47/files#diff-887ab0f81702f5593f74a37d3302b0a2c8eb711e41030cf4a135c5141a926097
View file https://github.com/docsifyjs/docsify-cli/blob/37f323dc43365715cee110f048de38c3292bd5b7/tools/locales/zh.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/docsifyjs/docsify-cli/pull/47/{{ revealButtonHref }}
https://github.com/docsifyjs/docsify-cli/pull/47/files#diff-887ab0f81702f5593f74a37d3302b0a2c8eb711e41030cf4a135c5141a926097
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.