Skip to content

Commit 664bef0

Browse files
committed
Added 'Create New Project' section; uniformed the use of 'package' instead of 'project'
2 parents 3c69580 + cda2817 commit 664bef0

File tree

9 files changed

+1851
-1890
lines changed

9 files changed

+1851
-1890
lines changed

blog/2023-12-11-docusaurus.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ We have a new website! Most importantly, this website is the home of our documen
99

1010
After careful consideration, we realized that our original website had become overly intricate to maintain due to its numerous customizations and dependencies. Writing comprehensive documentation is already a challenging and time-consuming task, and we were keen on avoiding additional complexity that could hinder our progress. Additionally, we had a wishlist of new features, including the ability to version our documentation, incorporate a blog page, and provide support for [MDX](https://mdxjs.com/). In pursuit of solutions, we explored various options.
1111

12+
{/* truncate */}
13+
1214
![LinguaFrancasaurus](../static/img/blog/lf-and-docusaurus.svg)
1315

1416
Fortunately, we discovered a framework that encompassed all the features we desired: [Docusaurus](https://docusaurus.io/). The adoption of this framework allowed us to streamline our infrastructure significantly. Remarkably, we were able to retain essential functionalities, such as our [Algolia](https://www.algolia.com)-based search bar and Markdown-based documentation pages, which are now more accessible for reading and editing.

blog/2023-12-15-release-lingo.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ tags: [lingo, lingua franca, packaging, build tool]
1010
Programming languages like Python, Rust, or JavaScript are popular not only because of particular language features, but also thanks to the quality of the tools and packages they offer access to.
1111
A good and mature ecosystem includes features such as developer support, mainly through IDEs or LSPs. Lingua Franca already shines in this area with its VSCode integration that offers functionality like code highlighting, error handling, build support, and diagram synthesis. Another important aspect of a modern language's ecosystem concerns package management. Although it is possible to import reactors from files in the local file system, support for packaging in Lingua Franca is still in its infancy.
1212

13+
{/* truncate */}
14+
1315
The Lingua Franca team is therefore pleased to present **Lingo**, a new package manager and build tool for Lingua Franca. While we still have a long list of features that we want Lingo to have (including the ability to publish packages), you can already do quite a few useful things with it.
1416
For instance, you can easily set up new Lingua Franca projects with `lingo init --language`, which creates a `Lingo.toml` and a small hello world program under `src/Main.lf`. The `Lingo.toml` specifies a set of apps that are executable LF programs. Apps can be configured with additional build and target properties.
1517

docusaurus.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ const config: Config = {
6666
],
6767

6868
themeConfig: {
69-
// Replace with your project's social card
70-
image: 'img/docusaurus-social-card.jpg',
69+
image: 'img/lf-social-card.png',
7170
navbar: {
7271
logo: {
7372
alt: 'The Lingua Franca Logo',

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,32 @@
1616
"dev": "docusaurus start"
1717
},
1818
"dependencies": {
19-
"@docusaurus/core": "^3.1.1",
20-
"@docusaurus/plugin-client-redirects": "^3.1.1",
21-
"@docusaurus/plugin-ideal-image": "^3.1.1",
22-
"@docusaurus/preset-classic": "^3.1.1",
23-
"@mdx-js/react": "^3.0.0",
19+
"@docusaurus/core": "^3.5.2",
20+
"@docusaurus/plugin-client-redirects": "^3.5.2",
21+
"@docusaurus/plugin-ideal-image": "^3.5.2",
22+
"@docusaurus/preset-classic": "^3.5.2",
23+
"@mdx-js/react": "^3.0.1",
2424
"clsx": "^2.1.1",
25-
"prism-react-renderer": "^2.1.0",
26-
"react": "^18.0.0",
27-
"react-dom": "^18.0.0",
25+
"prism-react-renderer": "^2.4.0",
26+
"react": "^18.3.1",
27+
"react-dom": "^18.3.1",
2828
"react-transition-group": "^4.4.5",
29-
"shiki": "^1.5.1",
29+
"shiki": "^1.22.0",
3030
"unist-util-visit": "^5.0.0"
3131
},
3232
"devDependencies": {
33-
"@docusaurus/eslint-plugin": "^3.1.1",
34-
"@docusaurus/module-type-aliases": "^3.1.1",
35-
"@docusaurus/tsconfig": "^3.1.1",
36-
"@docusaurus/types": "^3.1.1",
37-
"@typescript-eslint/eslint-plugin": "^7.8.0",
38-
"@typescript-eslint/parser": "^7.8.0",
39-
"eslint": "^9.2.0",
33+
"@docusaurus/eslint-plugin": "^3.5.2",
34+
"@docusaurus/module-type-aliases": "^3.5.2",
35+
"@docusaurus/tsconfig": "^3.5.2",
36+
"@docusaurus/types": "^3.5.2",
37+
"@typescript-eslint/eslint-plugin": "^8.10.0",
38+
"@typescript-eslint/parser": "^8.10.0",
39+
"eslint": "^9.12.0",
4040
"eslint-config-prettier": "^9.1.0",
41-
"eslint-plugin-react-hooks": "^4.6.0",
42-
"eslint-plugin-regexp": "^2.1.1",
43-
"prettier": "^3.1.0",
44-
"typescript": "^5.3.2"
41+
"eslint-plugin-react-hooks": "^5.0.0",
42+
"eslint-plugin-regexp": "^2.6.0",
43+
"prettier": "^3.3.3",
44+
"typescript": "^5.6.3"
4545
},
4646
"browserslist": {
4747
"production": [

src/components/Community/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ export const SocialMediaCard = ({
4949
export default function Community(): JSX.Element {
5050
const { siteConfig } = useDocusaurusContext();
5151
return (
52-
<Layout>
52+
<Layout
53+
title="Community"
54+
description="Intuitive concurrent programming in any language"
55+
>
5356
{/* Social media */}
5457
{/* Active contributors */}
5558
<div className="section">

src/components/Publications/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const notablePapers = [
4949

5050
export default () => {
5151
return (
52-
<Layout description="Publications of the Lingua Franca">
52+
<Layout title="Publications" description="Intuitive concurrent programming in any language">
5353
<div className="section">
5454
<div className="container">
5555
<Heading

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ export default function Home(): JSX.Element {
146146
const { siteConfig } = useDocusaurusContext();
147147
return (
148148
<Layout
149-
title={`Welcome`}
150-
description="Intuitive concurrent programming in any language"
149+
title="Intuitive concurrent programming in any language"
150+
description="Build time-sensitive, concurrent, and distributed systems — effortlessly"
151151
>
152152
<main>
153153
<HeroBanner />

static/img/lf-social-card.png

141 KB
Loading

0 commit comments

Comments
 (0)