From eea9a425cfe7a4e816ea51d319154ea44e4a9dfb Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Thu, 2 Sep 2021 22:04:11 +0100 Subject: [PATCH] Remove needless `src` directory for documentation --- .drone.yml | 1 - .gitignore | 2 ++ docs/book.toml => book.toml | 2 +- docs/.gitignore | 1 - docs/{src => }/SUMMARY.md | 0 docs/{src => }/datman/getting_started.md | 0 docs/{src => }/datman/index.md | 0 docs/{src => }/yama/getting_started.md | 0 docs/{src => }/yama/index.md | 0 docs/{src => }/yama/internals.md | 0 docs/{src => }/yama/internals/pointers-and-nodes.md | 0 docs/{src => }/yama/internals/raw-piles.md | 0 12 files changed, 3 insertions(+), 3 deletions(-) rename docs/book.toml => book.toml (96%) delete mode 100644 docs/.gitignore rename docs/{src => }/SUMMARY.md (100%) rename docs/{src => }/datman/getting_started.md (100%) rename docs/{src => }/datman/index.md (100%) rename docs/{src => }/yama/getting_started.md (100%) rename docs/{src => }/yama/index.md (100%) rename docs/{src => }/yama/internals.md (100%) rename docs/{src => }/yama/internals/pointers-and-nodes.md (100%) rename docs/{src => }/yama/internals/raw-piles.md (100%) diff --git a/.drone.yml b/.drone.yml index 0b0a21a..78f8fa7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,7 +51,6 @@ steps: commands: # warning! Doesn't seem to like hashed known_hosts... - cargo install -q mdbook - apt-get -qq update && apt-get -yqq install rsync ssh - - cd docs - mdbook build - echo "$DEPLOY_SSH_KEY" > /tmp/rsync_key - chmod u=rw,go= /tmp/rsync_key diff --git a/.gitignore b/.gitignore index bd78447..9a5f042 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ /target **/*.rs.bk +/book + /.idea /yama.iml /.project diff --git a/docs/book.toml b/book.toml similarity index 96% rename from docs/book.toml rename to book.toml index 5e1763e..f4c4afd 100644 --- a/docs/book.toml +++ b/book.toml @@ -2,7 +2,7 @@ authors = ["Olivier"] language = "en" multilingual = false -src = "src" +src = "docs" title = "Yama and Datman Documentation" description = "Documentation for Yama (a chunked pile system) and Datman (data management tool built on Yama)" diff --git a/docs/.gitignore b/docs/.gitignore deleted file mode 100644 index 7585238..0000000 --- a/docs/.gitignore +++ /dev/null @@ -1 +0,0 @@ -book diff --git a/docs/src/SUMMARY.md b/docs/SUMMARY.md similarity index 100% rename from docs/src/SUMMARY.md rename to docs/SUMMARY.md diff --git a/docs/src/datman/getting_started.md b/docs/datman/getting_started.md similarity index 100% rename from docs/src/datman/getting_started.md rename to docs/datman/getting_started.md diff --git a/docs/src/datman/index.md b/docs/datman/index.md similarity index 100% rename from docs/src/datman/index.md rename to docs/datman/index.md diff --git a/docs/src/yama/getting_started.md b/docs/yama/getting_started.md similarity index 100% rename from docs/src/yama/getting_started.md rename to docs/yama/getting_started.md diff --git a/docs/src/yama/index.md b/docs/yama/index.md similarity index 100% rename from docs/src/yama/index.md rename to docs/yama/index.md diff --git a/docs/src/yama/internals.md b/docs/yama/internals.md similarity index 100% rename from docs/src/yama/internals.md rename to docs/yama/internals.md diff --git a/docs/src/yama/internals/pointers-and-nodes.md b/docs/yama/internals/pointers-and-nodes.md similarity index 100% rename from docs/src/yama/internals/pointers-and-nodes.md rename to docs/yama/internals/pointers-and-nodes.md diff --git a/docs/src/yama/internals/raw-piles.md b/docs/yama/internals/raw-piles.md similarity index 100% rename from docs/src/yama/internals/raw-piles.md rename to docs/yama/internals/raw-piles.md