Skip to content

Commit 73739b3

Browse files
authored
docs: redirect to docs.unstructured.io on github pages (#3054)
### Summary Updates GitHub pages to redirect to the new https://docs.unstructured.io page. This will appear on GitHub pages after the next tag. ### Testing 1. From the docs direction, run `make html`. You should not see any errors or warnings 2. Open `unstructured/docs/build/html/index.html`. It should look like the following: <img width="1512" alt="image" src="https://github.com/Unstructured-IO/unstructured/assets/1635179/077626a5-d88a-467e-9e37-273a92e75d30"> 3. Open `unstructured/docs/build/html/404.html`. It should redirect back to `index.html`. Per the [GitHub pages docs](https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site), that page will get served for 404 errors, meaning any links to old docs pages will redirect to `index.html`, which points users to the new docs page.
1 parent acda4d0 commit 73739b3

File tree

336 files changed

+16
-13134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

336 files changed

+16
-13134
lines changed

docs/source/404.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. _404:
2+
3+
404 Error
4+
=========
5+
6+
.. raw:: html
7+
8+
<script type="text/javascript">
9+
window.location.href = "index.html";
10+
</script>
11+

docs/source/api.rst

Lines changed: 0 additions & 61 deletions
This file was deleted.

docs/source/apis/api_parameters.rst

Lines changed: 0 additions & 144 deletions
This file was deleted.

docs/source/apis/api_sdks.rst

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)