Add Push MD demo remote#46
Merged
Merged
Conversation
e5d1160 to
b345bf8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What it does
Adds the remaining demo pieces needed for
pushmd.blogwithout replacing the current landing-page logo or social-card assets:/wp-json/git/v1/md.githttps://pushmd.blog/wp-json/git/v1/md.gitRationale
The landing page should give people an immediate pullable Git remote before they install the plugin on their own WordPress site. The public demo remote stays read-only; authenticated Push MD installs remain the path for accepting writes through WordPress permissions.
Implementation
The static Git remote is checked into the GitHub Pages artifact path under
plugins/push-md/docs/landing/wp-json/git/v1/md.git, with server-info generated so dumb HTTP cloning works from static hosting.The terminal emulator now switches between Markdown, permissions/write, and pull/admin-edit demos. It also makes the public remote's read-only behavior explicit when a user tries to push.
Testing instructions
Validated locally with:
Confirmed the static remote works over HTTP: