Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
} from "reactstrap";

import LazyMarkdown from "~/components/markdown/LazyMarkdown";
import { NEW_DOCS_MARKDOWN_SYNTAX } from "~/utils/constants/NewDocs";
import RtkOrDataServicesError from "../../../../components/errors/RtkOrDataServicesError";
import { ExternalLink } from "../../../../components/LegacyExternalLinks";
import { Loader } from "../../../../components/Loader";
Expand Down Expand Up @@ -324,11 +325,8 @@ function DocumentationWordCount({
function MarkdownHelp() {
return (
<div>
<ExternalLink
role="text"
url="https://www.notion.so/renku/Writing-Documentation-in-Renku-Renku-s-Markdown-1a70df2efafc80329211c493917ff6e4"
>
<Markdown className="bi me-1" /> Markdown supported
<ExternalLink role="text" url={NEW_DOCS_MARKDOWN_SYNTAX}>
<Markdown className="me-1" /> Markdown supported
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
<Markdown className="me-1" /> Markdown supported
<Markdown className="me-1" />Markdown supported

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

🙏
Pushed here with formatting 7136d2e

</ExternalLink>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import { ReactNode } from "react";
import { Card, Col, Row } from "reactstrap";

import {
NEW_DOCS_RENKU_EVENTS,
NEW_DOCS_RESEARCH,
NEW_DOCS_TEACHING,
} from "~/utils/constants/NewDocs";
import { Links } from "../../../../utils/constants/Docs.js";
import educatorIcon from "../../assets/educatorIcon.svg";
import organizerIcon from "../../assets/organizerIcon.svg";
import researcherIcon from "../../assets/researcherIcon.svg";
Expand Down Expand Up @@ -112,7 +112,7 @@ export function RenkuUsers() {
title: "Seamless Events",
description:
"Focus on innovation, not setup and infrastructure. Provide a consistent environment for all teams, and get participants coding and collaborating right away.",
link: Links.RENKU_2_EVENTS,
link: NEW_DOCS_RENKU_EVENTS,
icon: (
<img
src={organizerIcon}
Expand Down
2 changes: 0 additions & 2 deletions client/src/utils/constants/Docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ const Links = {
RENKU_2_ADMIN_HOW_TO_GUIDE_INCIDENTS:
"https://docs.renkulab.io/en/0.70.0/how-to-guides/admin/incidents-maintenance.html",
RENKU_2_LEARN_MORE: "https://blog.renkulab.io/early-access",
RENKU_2_EVENTS:
"https://renku.notion.site/Renku-for-Events-18c0df2efafc800bb26ae93333b4318d",
RENKU_2_SUNSET: "https://blog.renkulab.io/sunsetting-legacy/",
RENKU_2_REGISTER_REDIRECT:
"https://www.notion.so/renku/2540df2efafc80c5ac36c6ecf6a375a0?v=2540df2efafc80b1ae2b000cee3e5a3c#2540df2efafc80c5ac36c6ecf6a375a0",
Expand Down
8 changes: 8 additions & 0 deletions client/src/utils/constants/NewDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,11 @@ export const NEW_DOCS_USER_INTEGRATIONS = newDocsLinkPage(
export const NEW_DOCS_DATA_CONNECTORS = newDocsLinkPage("docs/users/data/data")(
DEFAULT_NEW_DOC_LINK_ARGS,
);

export const NEW_DOCS_RENKU_EVENTS = newDocsLinkPage(
"docs/users/use-cases/events",
)(DEFAULT_NEW_DOC_LINK_ARGS);

export const NEW_DOCS_MARKDOWN_SYNTAX = newDocsLinkPage(
"docs/users/knowledge-base/writing-documentation-in-renku",
)(DEFAULT_NEW_DOC_LINK_ARGS);
Loading