add installation page - #5
Merged
Merged
Conversation
|
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.
Rewrites Installation around the installer. Commands and flags are transcribed from that repo, with
--extension-onlyand the extension backup behaviour checked against the source rather than the README.New component:
src/components/InstallCommand— the one-line install command with macOS / Linux / Windows tabs, auto-selecting the visitor's OS from the user agent. macOS and Linux share the same script; Windows gets the PowerShell one. Detection runs in an effect so the prerendered and first client renders match, and a manual pick sticks. The copy button comes free with Docusaurus code blocks.Page: get the installer → Docker box →
install(interpreter by default,--extension-onlyfor the extension alone) plus a flag table → reversing it withuninstall→update→ more-options box.Placeholders:
getting-started/dockerandgetting-started/install-options, both linked from the boxes and added to the sidebar.Also in here
src/css/custom.css) onto the site palette — neutral surface, brand-red accent and icon. This is site-wide: 19 existing:::noteboxes change appearance too.warninganddangerdeliberately keep their Infima colours so they still read as alarming.powershelladded toadditionalLanguages— it is not in prism-react-renderer's default bundle, so the Windows command rendered unhighlighted without it.php_debugger_break()example were dropped: both duplicatedconfiguration.mdand were not about installing. The page links to Configuration instead.installation.mdbecomes.mdxfor the component, so the two inbound links were updated.