Skip to content

Commit

Permalink
Gen global config docs from executable
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaraslaut committed Oct 21, 2024
1 parent 09e0ec5 commit dc3fea7
Show file tree
Hide file tree
Showing 13 changed files with 941 additions and 543 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
run: cmake --build build
- name: "create vt-sequence directory"
run: mkdir docs/vt-sequence
- name: "Generate documentation about global config"
run: ./build/src/contour/contour documentation configuration global > docs/configuration/index.md
- name: "Generate vt documentation"
run: ./build/src/contour/contour documentation vt > docs/vt-sequence/index.md
- name: "Generate key mapping documentation"
Expand Down
121 changes: 0 additions & 121 deletions docs/configuration/index.md

This file was deleted.

7 changes: 7 additions & 0 deletions scripts/install-deps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ class ThirdParty {
}

$libunicode_git_sha="817cb5900acdf6f60e2344a4c8f1f39262878a4b"
$reflection_cpp_git_sha="02484cd9ec16d7efc252ab8fd1f85d7264192418"

# Take care, order matters, at least as much as dependencies are of concern.
$ThirdParties =
@(
[ThirdParty]@{
Folder = "reflection-cpp-${reflection_cpp_git_sha}";
Archive = "reflection-cpp-${reflection_cpp_git_sha}.zip";
URI = "https://github.com/contour-terminal/reflection-cpp/archive/${reflection_cpp_git_sha}.zip";
Macro = "reflection_cpp"
};
[ThirdParty]@{
Folder = "libunicode-${libunicode_git_sha}";
Archive = "libunicode-${libunicode_git_sha}.zip";
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ fetch_and_unpack_libunicode()

fetch_and_unpack_reflection_cpp()
{
local reflection_cpp_git_sha="f820d2cb5383c835f43c730667a4a08506873f20"
local reflection_cpp_git_sha="02484cd9ec16d7efc252ab8fd1f85d7264192418"
fetch_and_unpack \
reflection-cpp-$reflection_cpp_git_sha \
reflection-cpp-$reflection_cpp_git_sha.tar.gz \
https://github.com/contour-terminal/reflection-cpp/archive/$reflection_cpp_git_sha.tar.gz \
reflection-cpp
reflection_cpp
}

fetch_and_unpack_yaml_cpp()
Expand Down
Loading

0 comments on commit dc3fea7

Please sign in to comment.