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