Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add codeblock component #45

Merged
merged 13 commits into from
Sep 14, 2021
Merged

Add codeblock component #45

merged 13 commits into from
Sep 14, 2021

Conversation

fdmmarshall
Copy link
Contributor

This PR is to add multi-language code block components to the areas in our docs that show more than one language when executing different types of transactions or queries. I implemented them using the Tabs and TabItem from the docusaurus classic theme. Eventually we may want to consider making a <MultiLanguageCode /> component to reduce all the code block code in each page. For more info/ examples visit docusaurus docs here.

@fdmmarshall fdmmarshall requested a review from Tr3yb0 September 7, 2021 19:12
@vercel
Copy link

vercel bot commented Sep 7, 2021

Deployment failed with the following error:

The most recent charge for your active payment method has failed. Please update it here: https://vercel.com/teams/fluree/settings/billing.

Copy link
Contributor

@Tr3yb0 Tr3yb0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing the lang in one codeblock doesnt seem to be changing it across the other codeblocks. Is it possible to add that in to this pr as well?

@fdmmarshall fdmmarshall requested a review from Tr3yb0 September 10, 2021 20:02
Copy link
Contributor

@Tr3yb0 Tr3yb0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fdmmarshall fdmmarshall merged commit 77aa929 into docs-overhaul Sep 14, 2021
@fdmmarshall fdmmarshall deleted the add-codeblock-component branch September 14, 2021 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants