Skip to content

Commit

Permalink
Merge branch 'finanalyst:main' into add-gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dontlaugh authored Dec 30, 2024
2 parents 02d3604 + c7a6660 commit 251b23a
Show file tree
Hide file tree
Showing 53 changed files with 7,757 additions and 2,353 deletions.
10 changes: 10 additions & 0 deletions .idea/.gitignore

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

31 changes: 22 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
FROM docker.io/rakudo-star:latest
FROM docker.io/rakuland/raku

# Install make, gcc, etc.
RUN apt-get update -y && \
apt-get install -y build-essential && \
apt-get purge -y
RUN apk add build-base
# Install Graphviz dot
RUN apk add graphviz

# install a SASS compiler
ARG DART_SASS_VERSION=1.82.0
ARG DART_SASS_TAR=dart-sass-${DART_SASS_VERSION}-linux-x64-musl.tar.gz
ARG DART_SASS_URL=https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/${DART_SASS_TAR}
ADD ${DART_SASS_URL} /opt/
RUN cd /opt/ && tar -xzf ${DART_SASS_TAR} && rm ${DART_SASS_TAR}
RUN ln -s /opt/dart-sass/sass /usr/local/bin/sass

# Copy in Raku source code and build
RUN mkdir -p /opt/rakuast-rakudoc-render
COPY . /opt/rakuast-rakudoc-render
WORKDIR /opt/rakuast-rakudoc-render
RUN zef install --/test --deps-only .
RUN zef install . --deps-only

RUN zef install . -/precompile-install

# symlink executable to location on PATH
RUN ln -s /opt/rakuast-rakudoc-render/bin/RenderDocs /usr/local/bin/RenderDocs


# Make a new WORKDIR where users will mount their code
RUN mkdir /src
WORKDIR /src
# Directory where users will mount their documents
RUN mkdir /doc
# Directory where rendered files go
RUN mkdir /to
# Dir for temporary files
RUN mkdir /working
WORKDIR /working

28 changes: 14 additions & 14 deletions META6.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Rakuast::RakuDoc::Render",
"description": "Renders RakuDoc v2 to text, HTML, Markdown",
"version": "0.12.0",
"description": "Renders RakuDoc v2 to text, HTML, HTML-Extra, Markdown",
"version": "0.20.8",
"authors": [
"Richard Hainsworth"
],
Expand All @@ -10,16 +10,14 @@
"PrettyDump",
"Test::Deeply::Relaxed",
"Test::Output",
"Temp::Path",
"LibCurl",
"URI",
"Digest::SHA1::Native",
"Text::MiscUtils",
"Method::Protected",
"Test::Run",
"RakuAST::Deparse::Highlight",
"Trap",
"Rainbow"
"Rainbow:ver<0.3.0+>"
],
"test-depends": [
"Test",
Expand All @@ -28,14 +26,15 @@
"provides": {
"RakuDoc::MarkupMeta": "lib/RakuDoc/MarkupMeta.rakumod",
"RakuDoc::Numeration": "lib/RakuDoc/Numeration.rakumod",
"RakuDoc::Plugin::Bulma": "lib/RakuDoc/Plugin/Bulma.rakumod",
"RakuDoc::Plugin::FontAwesome": "lib/RakuDoc/Plugin/FontAwesome.rakumod",
"RakuDoc::Plugin::Graphviz": "lib/RakuDoc/Plugin/Graphviz.rakumod",
"RakuDoc::Plugin::Hilite": "lib/RakuDoc/Plugin/Hilite.rakumod",
"RakuDoc::Plugin::Latex": "lib/RakuDoc/Plugin/Latex.rakumod",
"RakuDoc::Plugin::LeafletMaps": "lib/RakuDoc/Plugin/LeafletMaps.rakumod",
"RakuDoc::Plugin::ListFiles": "lib/RakuDoc/Plugin/ListFiles.rakumod",
"RakuDoc::Plugin::SCSS": "lib/RakuDoc/Plugin/SCSS.rakumod",
"RakuDoc::Plugin::HTML::Bulma": "lib/RakuDoc/Plugin/HTML/Bulma.rakumod",
"RakuDoc::Plugin::HTML::FontAwesome": "lib/RakuDoc/Plugin/HTML/FontAwesome.rakumod",
"RakuDoc::Plugin::HTML::Graphviz": "lib/RakuDoc/Plugin/HTML/Graphviz.rakumod",
"RakuDoc::Plugin::HTML::Hilite": "lib/RakuDoc/Plugin/HTML/Hilite.rakumod",
"RakuDoc::Plugin::HTML::Latex": "lib/RakuDoc/Plugin/HTML/Latex.rakumod",
"RakuDoc::Plugin::HTML::LeafletMaps": "lib/RakuDoc/Plugin/HTML/LeafletMaps.rakumod",
"RakuDoc::Plugin::HTML::ListFiles": "lib/RakuDoc/Plugin/HTML/ListFiles.rakumod",
"RakuDoc::Plugin::HTML::SCSS": "lib/RakuDoc/Plugin/HTML/SCSS.rakumod",
"RakuDoc::Plugin::Markdown::Graphviz": "lib/RakuDoc/Plugin/Markdown/Graphviz.rakumod",
"RakuDoc::Processed": "lib/RakuDoc/Processed.rakumod",
"RakuDoc::PromiseStrings": "lib/RakuDoc/PromiseStrings.rakumod",
"RakuDoc::Render": "lib/RakuDoc/Render.rakumod",
Expand All @@ -44,7 +43,8 @@
"RakuDoc::To::Generic": "lib/RakuDoc/To/Generic.rakumod",
"RakuDoc::To::HTML": "lib/RakuDoc/To/HTML.rakumod",
"RakuDoc::To::HTML-Extra": "lib/RakuDoc/To/HTML-Extra.rakumod",
"RakuDoc::To::Markdown": "lib/RakuDoc/To/Markdown.rakumod"
"RakuDoc::To::Markdown": "lib/RakuDoc/To/Markdown.rakumod",
"RenderDocs": "lib/RenderDocs.rakumod"
},
"resources": [
"compliance-rendering/rakudociem-ipsum.rakudoc.pretty.text",
Expand Down
Loading

0 comments on commit 251b23a

Please sign in to comment.