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

archive(1.0) isolation: manual steps #2325

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
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
85 changes: 21 additions & 64 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
const versionedLinks = require("./src/mdx/versionedLinks");

module.exports = {
title: "Camunda Platform 8 Docs",
tagline: "Documentation for all components of Camunda Platform 8",
// url: "https://camunda-cloud.github.io",
url: "https://docs.camunda.io",
url: "https://unsupported.docs.camunda.io",
// baseUrl: "/camunda-cloud-documentation/",
baseUrl: "/",
baseUrl: "/1.0/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "throw",
favicon: "img/favicon.ico",
Expand Down Expand Up @@ -34,28 +32,17 @@ module.exports = {
},
],
"./static/plugins/bpmn-js",
[
"@docusaurus/plugin-content-docs",
{
id: "optimize",
path: "optimize",
routeBasePath: "optimize",
beforeDefaultRemarkPlugins: [versionedLinks],
sidebarPath: require.resolve("./optimize_sidebars.js"),
editUrl: "https://github.com/camunda/camunda-platform-docs/edit/main/",
versions: {
"3.9.0": {
banner: "none",
},
"3.8.0": {
banner: "none",
},
},
},
],
],
scripts: [],
themeConfig: {
announcementBar: {
id: "camunda8",
content:
akeller marked this conversation as resolved.
Show resolved Hide resolved
'🚨 This version of Camunda Platform 8 is no longer actively maintained. For up-to-date documentation, see <b><a target="_blank" rel="noopener noreferrer" href="https://docs.camunda.io">the latest version</a></b>.',
backgroundColor: "#FFC600",
textColor: "#434343",
isCloseable: false,
},
prism: {
additionalLanguages: ["java", "protobuf"],
},
Expand All @@ -67,7 +54,7 @@ module.exports = {
},
items: [
{
type: "docsVersionDropdown",
type: "docsVersion",
position: "left",
dropdownItemsAfter: [
{
Expand Down Expand Up @@ -97,18 +84,6 @@ module.exports = {
label: "Components",
position: "left",
},
{
type: "doc",
docId: "apis-tools/working-with-apis-tools",
label: "APIs & Tools",
position: "left",
},
{
type: "doc",
docId: "self-managed/about-self-managed",
label: "Self-Managed",
position: "left",
},
{
type: "doc",
docId: "reference/overview",
Expand All @@ -134,7 +109,7 @@ module.exports = {
},
{
label: "Try free",
href: "https://signup.camunda.com/accounts?utm_source=docs.camunda.io&utm_medium=referral&utm_content=footer",
href: "https://signup.camunda.com/accounts?utm_source=unsupported.docs.camunda.io&utm_medium=referral&utm_content=footer",
},
{
label: "Contact",
Expand Down Expand Up @@ -231,18 +206,14 @@ module.exports = {
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl:
"https://github.com/camunda/camunda-platform-docs/edit/main/",
beforeDefaultRemarkPlugins: [versionedLinks],
// 👋 When cutting a new version, remove the banner for maintained versions by adding an entry. Remove the entry to versions >18 months old.
lastVersion: "1.0",
includeCurrentVersion: false,
versions: {
8.1: {
banner: "none",
},
"8.0": {
banner: "none",
"1.0": {
label: "1.0",
path: "/",
noIndex: true,
banner: "unmaintained",
},
},
},
Expand All @@ -251,22 +222,8 @@ module.exports = {
customCss: require.resolve("./src/css/custom.css"),
},
sitemap: {
changefreq: "weekly",
priority: 0.5,
ignorePatterns: [
"/docs/**/tags/**",
"/docs/next/**",
"/docs/1.0/**",
"/docs/1.1/**",
"/docs/1.2/**",
"/docs/1.3/**",
"/docs/8.0/**",
"/docs/8.1/**",
"/optimize/3.7.0/**",
"/optimize/3.8.0/**",
"/optimize/3.9.0/**",
"/optimize/next/**",
],
// exclude everything from sitemap
ignorePatterns: ["**"],
},
},
],
Expand Down
39 changes: 2 additions & 37 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const features = [
{
title: "APIs & Tools",
imageUrl: "img/apisclients.png",
url: "/docs/apis-tools/working-with-apis-tools/",
url: "/",
description: <>Programmatically interact with your automated processes.</>,
},
];
Expand All @@ -41,7 +41,7 @@ const features2 = [
{
title: "Self-Managed",
imageUrl: "img/self-managed.png",
url: "/docs/self-managed/about-self-managed/",
url: "/",
description: (
<>
A self-hosted Camunda Platform 8 alternative, offering everything you
Expand Down Expand Up @@ -164,41 +164,6 @@ function Home() {
</div>
</section>
)}
<div className={clsx("hero hero--secondary", styles.heroBanner)}>
<div className="container">
<h2 className="hero__title">Unsure where to begin?</h2>
<p className="hero__subtitle">Try one of our use case guides</p>
<div className={styles.buttons}>
<Link
className={clsx(
"button button--outline button--secondary button--lg button--hero get-started-use-case",
styles.getStarted
)}
to={useBaseUrl("docs/guides/orchestrate-microservices/")}
>
Microservice Orchestration
</Link>
<Link
className={clsx(
"button button--outline button--secondary button--lg button--hero get-started-use-case get-started-use-case-2",
styles.getStarted
)}
to={useBaseUrl("docs/guides/orchestrate-human-tasks/")}
>
Human Task Orchestration
</Link>
<Link
className={clsx(
"button button--outline button--secondary button--lg button--hero get-started-use-case get-started-use-case-2",
styles.getStarted
)}
to={useBaseUrl("docs/guides/orchestrate-api-endpoints/")}
>
API Endpoint Orchestration
</Link>
</div>
</div>
</div>
</main>
</Layout>
);
Expand Down
Loading
Loading