Skip to content

Commit

Permalink
Merge pull request #193 from lf-lang/docs-langing-page
Browse files Browse the repository at this point in the history
Make "introduction" route to "/docs" to prevent algolia not able to crawl
  • Loading branch information
lhstrh authored Dec 15, 2023
2 parents 9f534a8 + 62a19dd commit b335673
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Introduction
description: Introduction to Lingua Franca.
slug: /
---

Lingua Franca (LF) is a polyglot coordination language built enrich mainstream target programming languages (currently C, C++, Python, TypeScript, and Rust) with deterministic reactive concurrency and the ability to specify timed behavior. LF is supported by a runtime system that is capable of concurrent and distributed execution of reactive programs that are deployable on the Cloud, the Edge, and even on bare-iron embedded platforms.
Expand Down
2 changes: 1 addition & 1 deletion docs/legacy_routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default [
"from": "/docs/handbook/tutorial-video"
},
{
"to": "/docs/introduction",
"to": "/docs/",
"from": "/docs/handbook/overview"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function HeroBanner() {
<Link className="button button--primary" to="/docs/installation">
<Translate>Get Started</Translate>
</Link>
<Link className="button button--info" to="/docs/Introduction">
<Link className="button button--info" to="/docs/">
<Translate>Read the Docs</Translate>
</Link>
<span className={styles.indexCtasGitHubButtonWrapper}>
Expand Down

0 comments on commit b335673

Please sign in to comment.