6 Commits

Author SHA1 Message Date
9075b34ca3 version increment 2025-11-08 19:32:44 +01:00
7325e3a0c9 added working dir for the github actions 2025-11-07 13:03:40 +01:00
34e8ad4eb4 fixed path issue on macos 2025-11-07 12:28:30 +01:00
8a6dacf1c8 Merge pull request #3 from bauepete/patch-1
Update Homebrew installation instructions in README
2025-11-07 10:37:15 +01:00
Peter Bauer
8a65a5e596 Update Homebrew installation instructions in README
Removed note about Homebrew installation not including asciidoctor_revealjs.
2025-11-07 10:36:01 +01:00
47996b81bc Update README.md 2025-10-26 21:54:05 +01:00
4 changed files with 10 additions and 12 deletions

View File

@@ -1,13 +1,11 @@
[package]
name = "docki"
version = "1.2.1"
version = "1.2.2"
edition = "2021"
description = "cli for building and publishing documentation using asciidoctor"
license-file = "LICENSE.txt"
authors = ["Quirin Ecker"]
exclude = [
".gitlab"
]
exclude = [".gitlab"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -31,9 +31,6 @@ docki serve
### Homebrew
> [!NOTE]
> Installing it via homebrew will not include asciidoctor_revealjs. It can be installed afterwards with `docki install-reveal`
```shell
brew tap quirinecker/homebrew-docki https://github.com/quirinecker/homebrew-docki
```
@@ -50,7 +47,7 @@ If you just want to try it out real quick and the nix package manager is availab
nix develop github:quirinecker/docki#preview
```
This will open a shell evnironment with docki installed. If you want to install it permanently with nix, i would recommend following the instructions in the [Nix (Advanced, Flake)](#nix-(advanced%2C-flake)) section.
This will open a shell evnironment with docki installed. If you want to install it permanently with nix, i would recommend following the instructions in the [Nix (Advanced, Flake)](#nix-advanced-flake) section.
### Cargo

View File

@@ -124,6 +124,9 @@
docker = pkgs.dockerTools.buildImage {
name = "docki";
tag = "latest";
config = {
WorkingDir = "/app";
};
copyToRoot = pkgs.buildEnv {
name = "docki-docker";
paths = [

View File

@@ -59,12 +59,12 @@ fn build_file(paths: Vec<std::path::PathBuf>) {
let in_path = paths
.first()
.expect(invalid_path_message)
.strip_prefix(&current_dir())
.expect(invalid_path_message)
.to_str()
.expect(invalid_path_message)
.replace(&current_dir(), "")
.replace("/./", "./");
.expect(invalid_path_message);
let in_path = format!("./{}", in_path);
let result = docki_build(&in_path);
match result {