Skip to content

Commit

Permalink
add jekyll-plantuml plugin (#18)
Browse files Browse the repository at this point in the history
https://github.com/yegor256/jekyll-plantuml

fixes
#2

---------

Co-authored-by: Martin Möller <[email protected]>
  • Loading branch information
abendt and normartin authored Nov 17, 2023
1 parent ad3841c commit 96a211c
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ _site
.sass-cache
.jekyll-metadata
vendor/
.idea/
.idea/
uml/
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ theme: minima
plugins:
- jekyll-feed
- jekyll_github_sample
- jekyll-plantuml

# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
Expand All @@ -44,4 +45,5 @@ exclude:
- vendor/ruby/
- go.sh
- readme.md
- .idea/
- .idea/
- docker/
9 changes: 9 additions & 0 deletions _drafts/test_plantuml.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: post
title: "Inline plantuml"
categories: [test]
---

{% plantuml %}
[First] - [Second]
{% endplantuml %}
4 changes: 4 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ ENV BUNDLE_GEMFILE=/app/bundle/Gemfile

WORKDIR /app/bundle

RUN apt-get clean
RUN apt-get update
RUN apt-get -y install plantuml

ADD Gemfile .
ADD Gemfile.lock .

Expand Down
1 change: 1 addition & 0 deletions docker/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0", :install_if => Gem.win_platform?

gem "jekyll-plantuml"
3 changes: 3 additions & 0 deletions docker/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ GEM
safe_yaml (~> 1.0)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-plantuml (1.4.1)
jekyll (> 2.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.8.0)
Expand Down Expand Up @@ -82,6 +84,7 @@ PLATFORMS
DEPENDENCIES
jekyll (~> 3.8.6)
jekyll-feed (~> 0.6)
jekyll-plantuml
jekyll_github_sample
minima (~> 2.5.1)
tzinfo (~> 1.2)
Expand Down

0 comments on commit 96a211c

Please sign in to comment.