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

New docsite #860

Merged
merged 7 commits into from
Jan 21, 2022
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ website/yarn.lock
website/node_modules
website/i18n/*
website/static/api
website/.docusaurus
/null
.vscode
.bsp
*.db
.jvmopts
.jvmopts
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.0.0
FROM node:lts-buster-slim

WORKDIR /app/website

Expand Down
7 changes: 3 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3"
version: "3.9"

services:
docusaurus:
Expand All @@ -9,10 +9,9 @@ services:
volumes:
- ./docs:/app/docs
- ./website/blog:/app/website/blog
- ./website/core:/app/website/core
- ./website/i18n:/app/website/i18n
- ./website/pages:/app/website/pages
- ./website/src:/app/website/src
- ./website/static:/app/website/static
- ./website/sidebars.json:/app/website/sidebars.json
- ./website/siteConfig.js:/app/website/siteConfig.js
- ./website/docusaurus.config.js:/app/website/docusaurus.config.js
working_dir: /app/website
2 changes: 2 additions & 0 deletions docs/internal/bimonad.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
---
# Bimonad tutorial

Bifunctors have become a hot topic in the Scala community since ZIO introduced the second type parameter.
Expand Down
2 changes: 2 additions & 0 deletions docs/internal/kind-enumeration.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
---
# Kind numbers

Naming kinds is hard. Suppose you have `Function1[A, B] = A => B` and `FunctionK[F[_], G[_]] = [A] => F[A] => G[A]`
Expand Down
2 changes: 2 additions & 0 deletions docs/internal/variance-enumeration.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
---
# Kind numbers with variance support

Naming kinds is hard. Especially with variance
Expand Down
7 changes: 6 additions & 1 deletion docs/optics.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ Tofu contains its own optics library with some notable features:
Hierarchy
---------

<img src="/docs_img/optics-hierarchy.png" height="700">
import ImageSwitcher from '../website/src/components/ImageSwitcher.js';

<ImageSwitcher
lightImageSrc="/docs_img/optics-hierarchy.svg"
darkImageSrc="/docs_img/optics-hierarchy-dark.svg"
imageHeight="700"/>

Intuition
---------
Expand Down
1 change: 1 addition & 0 deletions docs/start.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
id: start
slug: /
title: Getting started
---

Expand Down
10 changes: 10 additions & 0 deletions node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

193 changes: 0 additions & 193 deletions website/README.md

This file was deleted.

6 changes: 3 additions & 3 deletions website/blog/2017-10-29-hello-docs.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: Started docs
author: Oleg Nizhnik
authorURL: https://github.com/Odomontois
authorTwitter: http://twitter.com/odomontois
authorImageURL: https://avatars3.githubusercontent.com/u/247558?s=460&v=4
authorURL: "https://github.com/Odomontois"
authorTwitter: "http://twitter.com/odomontois"
authorImageURL: "https://avatars3.githubusercontent.com/u/247558?s=460&v=4"
---
Starting from today we have docs in tofu.
Also checkout the new logo. Spent over 9000h in draw.io
Expand Down
103 changes: 0 additions & 103 deletions website/core/Footer.js

This file was deleted.

Loading