From 480afe48ff133375ded579103e0bbdff4247b8b6 Mon Sep 17 00:00:00 2001 From: Seb James Date: Wed, 20 Dec 2023 15:04:50 +0000 Subject: [PATCH] will just the docs work? --- docs/Gemfile | 4 +++- docs/_config.yml | 18 ++++++++++++++++-- docs/_layouts/default.html | 20 -------------------- docs/_layouts/home.html | 34 ---------------------------------- docs/_layouts/page.html | 14 -------------- docs/_layouts/post.html | 27 --------------------------- 6 files changed, 19 insertions(+), 98 deletions(-) delete mode 100644 docs/_layouts/default.html delete mode 100644 docs/_layouts/home.html delete mode 100644 docs/_layouts/page.html delete mode 100644 docs/_layouts/post.html diff --git a/docs/Gemfile b/docs/Gemfile index 7ca6cfd8..bb7f7fc4 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -11,7 +11,9 @@ source "https://rubygems.org" #gem "jekyll", "~> 3.8.6" # This is the default theme for new Jekyll sites. You may change this to anything you like. -gem "minima", "~> 2.0" +#gem "minima", "~> 2.0" +#gem "just-the-docs", "~> 0.7.0" +gem "just-the-docs" # If using Ruby 3 you need this previously standard gem gem "webrick" diff --git a/docs/_config.yml b/docs/_config.yml index 801b8a06..1385d64d 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,10 +1,24 @@ -title: morphologica - OpenGL data visualization +title: morphologica description: Learn how to use morphologica C++ classes to write fast numerical simulations with amazing OpenGL visualization baseurl: "/" # the subpath of your site, e.g. /blog github_username: sebjameswml -theme: minima +theme: just-the-docs +#theme: minima +#theme: jekyll-theme-minima #theme: jekyll-theme-minimal +#theme: jekyll-theme-architect +#theme: jekyll-theme-cayman +#theme: jekyll-theme-dinky +#theme: jekyll-theme-hacker +#theme: jekyll-theme-leap-day +#theme: jekyll-theme-merlot +#theme: jekyll-theme-midnight +#theme: jekyll-theme-modernist +#theme: jekyll-theme-slate +#theme: jekyll-theme-tactile +#theme: jekyll-theme-time-machine + plugins: - jekyll-feed diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html deleted file mode 100644 index 58e141b7..00000000 --- a/docs/_layouts/default.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - {%- include head.html -%} - - - - {%- include header.html -%} - -
-
- {{ content }} -
-
- - {%- include footer.html -%} - - - - diff --git a/docs/_layouts/home.html b/docs/_layouts/home.html deleted file mode 100644 index 8f8ac79c..00000000 --- a/docs/_layouts/home.html +++ /dev/null @@ -1,34 +0,0 @@ ---- -layout: default ---- - -
- {%- if page.title -%} -

{{ page.title }}

- {%- endif -%} - - {{ content }} - - {%- if site.posts.size > 0 -%} -

{{ page.list_title | default: "Posts" }}

- - -

subscribe via RSS

- {%- endif -%} - -
diff --git a/docs/_layouts/page.html b/docs/_layouts/page.html deleted file mode 100644 index 01e4b2a9..00000000 --- a/docs/_layouts/page.html +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: default ---- -
- -
-

{{ page.title | escape }}

-
- -
- {{ content }} -
- -
diff --git a/docs/_layouts/post.html b/docs/_layouts/post.html deleted file mode 100644 index abf9696d..00000000 --- a/docs/_layouts/post.html +++ /dev/null @@ -1,27 +0,0 @@ ---- -layout: default ---- -
- -
-

{{ page.title | escape }}

- -
- -
- {{ content }} -
- - {%- if site.disqus.shortname -%} - {%- include disqus_comments.html -%} - {%- endif -%} - - -