Skip to content

Commit

Permalink
Merge pull request #13 from JuliaPluto/en/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp authored Jan 18, 2024
2 parents ba360c9 + 733fdfc commit 7626729
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This is the source code for the Pluto.jl website! It uses a site generation syst

The `/src/` folder is scanned for files, and all files are turned into HTML pages.

Paths correspond to URLs. For example, `src/docs/install.jlmd` will become available at `plutojl.org/docs/install/`. For files called *"index"*, the URL will point to its parent, e.g. `src/docs/index.jlmd` becomes `plutojl.org/docs/`. Remember that changing URLs is very bad! You can't share Pluto with your friends if the links break.
Paths correspond to URLs. For example, `src/en/docs/install.jlmd` will become available at `plutojl.org/en/docs/install/`. For files called *"index"*, the URL will point to its parent, e.g. `src/en/docs/index.jlmd` becomes `plutojl.org/en/docs/`. Remember that changing URLs is very bad! You can't share Pluto with your friends if the links break.

> **To add something to our website, just create a new file!** Fons will be super happy to figure out the technical bits.
Expand Down
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"

[[redirects]]
from = "/docs/*"
to = "/en/docs/:splat"
status = 301
10 changes: 5 additions & 5 deletions src/_includes/welcome.jlhtml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@

<div class="navlinks">

<!-- <a href="./docs/">Documentation</a> -->
<a href="en/docs/">Documentation</a>
<a href="https://featured.plutojl.org/">Featured Notebooks</a>
<!-- <a href="./blog/">Blog</a> -->
<!-- <a href="en/blog/">Blog</a> -->
<a href="https://github.com/fonsp/Pluto.jl">GitHub</a>
</div>

Expand Down Expand Up @@ -73,7 +73,7 @@

<p>Balblablkja placeholder bla bla Pluto uses syntax analysis to understand which packages are being used in a notebook, and it <strong>automatically manages a package environment</strong> for your notebook. You no longer need to install packages, you can directly import any registered package like <code>Plots</code> or <code>DataFrames</code> and use it.</p>

<a href="docs/" class="arrow">Learn more</a>
<a href="en/docs/" class="arrow">Learn more</a>
</card-text>
<card-showcase>
<img alt="TODO TODO TODO screencap" src="https://user-images.githubusercontent.com/6933510/134823403-fbb79d7f-dd3e-4712-b5d5-b48ad0770f13.gif">
Expand All @@ -91,7 +91,7 @@

<img alt="interactivity screencap" src="https://user-images.githubusercontent.com/6933510/80637344-24ac0180-8a5f-11ea-82dd-813dbceca9c9.gif" width="600" height="738">

<a href="docs/" class="arrow">Learn more</a>
<a href="en/docs/" class="arrow">Learn more</a>
</card-text>
</p-card>

Expand All @@ -109,7 +109,7 @@

<p>The package <a href="https://github.com/fonsp/PlutoUI.jl">PlutoUI.jl</a> contains lots of common widgets like sliders, textfields and buttons. Need something different? PlutoUI.jl was made by us, but anyone can create their own special widgets! We give you full control over HTML, CSS and JS, with powerful API to connect a web component to Julia.</p>

<a href="docs/" class="arrow">Learn more</a>
<a href="en/docs/" class="arrow">Learn more</a>
</card-text>

</p-card>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7626729

Please sign in to comment.