willox / auxtools

Rust library for low-level interfacing with BYOND's virtual machine. Includes a remote debugger for the BYOND DreamMaker language.
MIT License
28 stars 32 forks source link

Added clean exclude for non-generated index.html for docs #4

Closed ZeWaka closed 4 years ago

ZeWaka commented 4 years ago

So, turns out cargo doc is slightly idiotic and doesn't generate a base .html page to browse the various documented modules. See: https://github.com/rust-lang/cargo/issues/8229

So, the clean now excludes the index.html from being removed. We could also disable clean, but that could potentially lead to some broken docs. Here's @MCHSL's index.html file, needs to be manually added to the docs branch:

<!DOCTYPE HTML>

<meta charset="UTF-8">
<meta http-equiv="refresh" content="1; url=/dm/index.html">

<script>
  window.location.href = "/dm/index.html"
</script>

<title>Page Redirection</title>

<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
If you are not redirected automatically, follow this <a href='/dm/index.html'>link</a>