From ee0fd8e5d92537ed9ef79e68e71f72c117b674af Mon Sep 17 00:00:00 2001 From: Valeria Salis Date: Wed, 13 Nov 2024 12:58:53 +0100 Subject: [PATCH] change jekyll theme to cayman. --- docs/Gemfile | 2 +- docs/Gemfile.lock | 9 +- docs/_config.yml | 6 +- .../2024-11-13-welcome-to-jekyll.markdown | 29 ----- docs/{about.markdown => about.md} | 0 docs/index.markdown | 6 - docs/index.md | 123 ++++++++++++++++++ 7 files changed, 129 insertions(+), 46 deletions(-) delete mode 100644 docs/_posts/2024-11-13-welcome-to-jekyll.markdown rename docs/{about.markdown => about.md} (100%) delete mode 100644 docs/index.markdown create mode 100644 docs/index.md diff --git a/docs/Gemfile b/docs/Gemfile index 2c345b8..a8b8277 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -9,7 +9,7 @@ source "https://rubygems.org" # Happy Jekylling! gem "jekyll", "~> 4.3.4" # This is the default theme for new Jekyll sites. You may change this to anything you like. -gem "minima", "~> 2.5" +gem 'jekyll-theme-cayman' # If you want to use GitHub Pages, remove the "gem "jekyll"" above and # uncomment the line below. To upgrade, run `bundle update github-pages`. # gem "github-pages", group: :jekyll_plugins diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 211f44d..4fb0454 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -65,6 +65,9 @@ GEM sass-embedded (~> 1.54) jekyll-seo-tag (2.8.0) jekyll (>= 3.8, < 5.0) + jekyll-theme-cayman (0.2.0) + jekyll (> 3.5, < 5.0) + jekyll-seo-tag (~> 2.0) jekyll-watch (2.2.1) listen (~> 3.0) kramdown (2.4.0) @@ -76,10 +79,6 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - minima (2.5.2) - jekyll (>= 3.5, < 5.0) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (6.0.1) @@ -173,7 +172,7 @@ DEPENDENCIES http_parser.rb (~> 0.6.0) jekyll (~> 4.3.4) jekyll-feed (~> 0.12) - minima (~> 2.5) + jekyll-theme-cayman tzinfo (>= 1, < 3) tzinfo-data wdm (~> 0.1) diff --git a/docs/_config.yml b/docs/_config.yml index e6d0500..9e94d6b 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -26,13 +26,9 @@ description: >- # this means to ignore newlines until "baseurl:" Google search results) and in your feed.xml site description. baseurl: "" # the subpath of your site, e.g. /blog url: "" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: jekyllrb -github_username: jekyll # Build settings -theme: minima -plugins: - - jekyll-feed +theme: jekyll-theme-cayman # Exclude from processing. # The following items will not be processed, by default. diff --git a/docs/_posts/2024-11-13-welcome-to-jekyll.markdown b/docs/_posts/2024-11-13-welcome-to-jekyll.markdown deleted file mode 100644 index 5fb22f3..0000000 --- a/docs/_posts/2024-11-13-welcome-to-jekyll.markdown +++ /dev/null @@ -1,29 +0,0 @@ ---- -layout: post -title: "Welcome to Jekyll!" -date: 2024-11-13 11:08:18 +0100 -categories: jekyll update ---- -You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. - -Jekyll requires blog post files to be named according to the following format: - -`YEAR-MONTH-DAY-title.MARKUP` - -Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works. - -Jekyll also offers powerful support for code snippets: - -{% highlight ruby %} -def print_hi(name) - puts "Hi, #{name}" -end -print_hi('Tom') -#=> prints 'Hi, Tom' to STDOUT. -{% endhighlight %} - -Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. - -[jekyll-docs]: https://jekyllrb.com/docs/home -[jekyll-gh]: https://github.com/jekyll/jekyll -[jekyll-talk]: https://talk.jekyllrb.com/ diff --git a/docs/about.markdown b/docs/about.md similarity index 100% rename from docs/about.markdown rename to docs/about.md diff --git a/docs/index.markdown b/docs/index.markdown deleted file mode 100644 index 0671507..0000000 --- a/docs/index.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -# Feel free to add content and custom Front Matter to this file. -# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults - -layout: home ---- diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..015471a --- /dev/null +++ b/docs/index.md @@ -0,0 +1,123 @@ +--- +layout: default +--- + +Text can be **bold**, _italic_, or ~~strikethrough~~. + +[Link to another page](./another-page.html). + +There should be whitespace between paragraphs. + +There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project. + +# Header 1 + +This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. + +## Header 2 + +> This is a blockquote following a header. +> +> When something is important enough, you do it even if the odds are not in your favor. + +### Header 3 + +```js +// Javascript code with syntax highlighting. +var fun = function lang(l) { + dateformat.i18n = require('./lang/' + l) + return true; +} +``` + +```ruby +# Ruby code with syntax highlighting +GitHubPages::Dependencies.gems.each do |gem, version| + s.add_dependency(gem, "= #{version}") +end +``` + +#### Header 4 + +* This is an unordered list following a header. +* This is an unordered list following a header. +* This is an unordered list following a header. + +##### Header 5 + +1. This is an ordered list following a header. +2. This is an ordered list following a header. +3. This is an ordered list following a header. + +###### Header 6 + +| head1 | head two | three | +|:-------------|:------------------|:------| +| ok | good swedish fish | nice | +| out of stock | good and plenty | nice | +| ok | good `oreos` | hmm | +| ok | good `zoute` drop | yumm | + +### There's a horizontal rule below this. + +* * * + +### Here is an unordered list: + +* Item foo +* Item bar +* Item baz +* Item zip + +### And an ordered list: + +1. Item one +1. Item two +1. Item three +1. Item four + +### And a nested list: + +- level 1 item + - level 2 item + - level 2 item + - level 3 item + - level 3 item +- level 1 item + - level 2 item + - level 2 item + - level 2 item +- level 1 item + - level 2 item + - level 2 item +- level 1 item + +### Small image + +![Octocat](https://github.githubassets.com/images/icons/emoji/octocat.png) + +### Large image + +![Branching](https://guides.github.com/activities/hello-world/branching.png) + + +### Definition lists can be used with HTML syntax. + +
+
Name
+
Godzilla
+
Born
+
1952
+
Birthplace
+
Japan
+
Color
+
Green
+
+ +``` +Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this. +``` + +``` +The final element. +``` \ No newline at end of file