Did some minor fixes for documentation management

This commit is contained in:
Frikky
2023-08-15 19:59:05 +02:00
parent dd9ae8fb68
commit 511aea613e
2 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
frontend: frontend:
image: ghcr.io/shuffle/shuffle-frontend:nightly image: ghcr.io/shuffle/shuffle-frontend:latest
container_name: shuffle-frontend container_name: shuffle-frontend
hostname: shuffle-frontend hostname: shuffle-frontend
ports: ports:
+10 -5
View File
@@ -436,7 +436,7 @@ const Docs = (defaultprops) => {
href={selectedMeta.link} href={selectedMeta.link}
style={{ textDecoration: "none", color: "#f85a3e" }} style={{ textDecoration: "none", color: "#f85a3e" }}
> >
<Button style={{}} variant="outlined"> <Button style={{}} variant="outlined" color="secondary">
<EditIcon /> &nbsp;&nbsp;Edit <EditIcon /> &nbsp;&nbsp;Edit
</Button> </Button>
</a> </a>
@@ -792,17 +792,21 @@ const Docs = (defaultprops) => {
<div id="markdown_wrapper_outer" style={markdownStyle}> <div id="markdown_wrapper_outer" style={markdownStyle}>
<ReactMarkdown <ReactMarkdown
components={{ components={{
link: OuterLink, img: Img,
image: Img,
code: CodeHandler, code: CodeHandler,
heading: Heading, h1: Heading,
h2: Heading,
h3: Heading,
h4: Heading,
h5: Heading,
h6: Heading,
a: OuterLink,
}} }}
id="markdown_wrapper" id="markdown_wrapper"
escapeHtml={false} escapeHtml={false}
style={{ style={{
maxWidth: "100%", minWidth: "100%", maxWidth: "100%", minWidth: "100%",
}} }}
remarkPlugins={[remarkGfm]}
> >
{data} {data}
</ReactMarkdown> </ReactMarkdown>
@@ -811,6 +815,7 @@ const Docs = (defaultprops) => {
</div> </div>
</div> </div>
); );
// remarkPlugins={[remarkGfm]}
const mobileStyle = { const mobileStyle = {
color: "white", color: "white",