mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-12-24 13:44:05 +00:00
docs: switch theme and style refresh (#209)
* add furo theme * switch theme to furo * css for custom sidebar * remove unnecessary images * removed unnecessary fonts * fix logo background * hide package name * add favico, tweak colors * copyright 2023 * update copyright years * update hover colors * fix title tab
This commit is contained in:
parent
7fb3797165
commit
24c90a03dc
@ -8,6 +8,8 @@ alabaster==0.7.13
|
||||
# via sphinx
|
||||
babel==2.11.0
|
||||
# via sphinx
|
||||
beautifulsoup4==4.11.2
|
||||
# via furo
|
||||
certifi==2022.12.7
|
||||
# via
|
||||
# -r requirements/build.in
|
||||
@ -18,6 +20,8 @@ docutils==0.18.1
|
||||
# via
|
||||
# sphinx
|
||||
# sphinx-rtd-theme
|
||||
furo==2022.12.7
|
||||
# via -r requirements/build.in
|
||||
idna==3.4
|
||||
# via requests
|
||||
imagesize==1.4.1
|
||||
@ -31,17 +35,25 @@ markupsafe==2.1.2
|
||||
packaging==23.0
|
||||
# via sphinx
|
||||
pygments==2.14.0
|
||||
# via sphinx
|
||||
# via
|
||||
# furo
|
||||
# sphinx
|
||||
pytz==2022.7.1
|
||||
# via babel
|
||||
requests==2.28.2
|
||||
# via sphinx
|
||||
snowballstemmer==2.2.0
|
||||
# via sphinx
|
||||
soupsieve==2.3.2.post1
|
||||
# via beautifulsoup4
|
||||
sphinx==6.1.3
|
||||
# via
|
||||
# -r requirements/build.in
|
||||
# furo
|
||||
# sphinx-basic-ng
|
||||
# sphinx-rtd-theme
|
||||
sphinx-basic-ng==1.0.0b1
|
||||
# via furo
|
||||
sphinx-rtd-theme==1.2.0rc3
|
||||
# via -r requirements/build.in
|
||||
sphinxcontrib-applehelp==1.0.4
|
||||
|
||||
43
docs/source/_static/images/logo-dark-mode.svg
Normal file
43
docs/source/_static/images/logo-dark-mode.svg
Normal file
@ -0,0 +1,43 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" enable-background="new 0 0 1000 1000" xml:space="preserve" viewBox="115.9 330.7 768.2 291">
|
||||
<g>
|
||||
<g>
|
||||
<polygon fill="#FFFFFF" points="447.5,330.7 401,357.6 447.5,384.4 "/>
|
||||
<polygon fill="#FFFFFF" points="399.5,413.9 446,387 399.5,360.2 "/>
|
||||
<polygon fill="#FFFFFF" points="447.5,389.6 401,416.5 447.5,443.3 "/>
|
||||
<polygon fill="#FFFFFF" points="399.5,472.8 446,445.9 399.5,419.1 "/>
|
||||
<polygon fill="#FFFFFF" points="447.5,448.5 401,475.4 447.5,502.2 "/>
|
||||
<polygon fill="#FFFFFF" points="450.5,502.2 497,475.4 450.5,448.5 "/>
|
||||
<polygon fill="#FFFFFF" points="498.5,478 452,504.8 498.5,531.7 "/>
|
||||
<polygon fill="#FFFFFF" points="552.5,384.4 599,357.6 552.5,330.7 "/>
|
||||
<polygon fill="#FFFFFF" points="600.5,360.2 554,387 600.5,413.9 "/>
|
||||
<polygon fill="#FFFFFF" points="552.5,443.3 599,416.5 552.5,389.6 "/>
|
||||
<polygon fill="#FFFFFF" points="600.5,419.1 554,445.9 600.5,472.8 "/>
|
||||
<polygon fill="#FFFFFF" points="552.5,502.2 599,475.4 552.5,448.5 "/>
|
||||
<polygon fill="#FFFFFF" points="549.5,448.5 503,475.4 549.5,502.2 "/>
|
||||
<polygon fill="#FFFFFF" points="501.5,531.7 548,504.8 501.5,478 "/>
|
||||
</g>
|
||||
<g>
|
||||
<g>
|
||||
<g>
|
||||
<path fill="#FFFFFF" d="M160.1,572.4h8.3v27.2c0,3.8-0.5,7-1.5,9.8c-1,2.8-2.5,5.1-4.6,6.9c-2.1,1.8-4.8,3.2-8.1,4.1 c-3.3,0.9-7.4,1.3-12.1,1.3c-4.7,0-8.7-0.4-12-1.3c-3.3-0.9-6-2.3-8.1-4.1c-2.1-1.8-3.6-4.1-4.6-6.9c-1-2.8-1.5-6.1-1.5-9.8 v-27.2h8.8v27.2c0,2.5,0.3,4.6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,1.4-2.4,3-3.1,5c-0.8,1.9-1.1,4-1.1,6.4c0,2.3,0.4,4.4,1.1,6.4 c0.8,2,1.8,3.6,3.1,5.1c1.3,1.4,2.9,2.5,4.8,3.3c1.9,0.8,3.9,1.2,6.1,1.2H510v8.5H483.6z"/>
|
||||
<path fill="#FFFFFF" d="M532.5,621.1v-40.2H514v-8.5h45.5v8.5H541v40.2H532.5z"/>
|
||||
<path fill="#FFFFFF" d="M608.6,572.4h8.3v27.2c0,3.8-0.5,7-1.5,9.8c-1,2.8-2.5,5.1-4.6,6.9c-2.1,1.8-4.8,3.2-8.1,4.1 c-3.3,0.9-7.4,1.3-12.1,1.3c-4.7,0-8.7-0.4-12-1.3c-3.3-0.9-6-2.3-8.1-4.1c-2.1-1.8-3.6-4.1-4.6-6.9c-1-2.8-1.5-6.1-1.5-9.8 v-27.2h8.8v27.2c0,2.5,0.3,4.6,0.9,6.3c0.6,1.7,1.6,3.2,2.9,4.3c1.4,1.1,3.2,1.9,5.5,2.4c2.3,0.5,5.1,0.8,8.4,0.8 s6.2-0.3,8.4-0.8c2.3-0.5,4.1-1.3,5.5-2.4c1.4-1.1,2.3-2.5,2.9-4.3c0.6-1.7,0.9-3.8,0.9-6.3V572.4z"/>
|
||||
<path fill="#FFFFFF" d="M669.8,621.1l-12.3-13.5h-18.2v-7.5h20.3c3.1,0,5.4-0.8,7-2.5c1.6-1.7,2.3-4.1,2.3-7.3s-0.8-5.5-2.4-7.1 c-1.6-1.5-3.9-2.3-6.9-2.3h-26.5v40.2h-8.4v-48.7h35c2.8,0,5.2,0.4,7.4,1.2c2.2,0.8,4,2,5.6,3.5c1.5,1.5,2.7,3.4,3.5,5.6 c0.8,2.2,1.2,4.6,1.2,7.4c0,4.1-0.9,7.5-2.6,10.2c-1.8,2.7-4.2,4.7-7.4,5.9l14.7,14.8H669.8z"/>
|
||||
<path fill="#FFFFFF" d="M686.3,621.1v-48.7h43.5v8.5h-35v31.7h35.1v8.5H686.3z M701,599.9v-7.2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.2,2.9,1.7,6.1,1.7,9.7c0,3.5-0.6,6.8-1.8,9.8 c-1.2,3-2.8,5.7-5,7.9c-2.1,2.2-4.6,3.9-7.5,5.2c-2.9,1.3-6.1,1.9-9.6,1.9H848.5z M860.3,612.7c2.2,0,4.3-0.4,6.2-1.2 c1.9-0.8,3.5-1.9,4.9-3.3c1.4-1.4,2.4-3.1,3.2-5.1c0.8-2,1.1-4.1,1.1-6.4c0-2.3-0.4-4.4-1.1-6.3c-0.8-1.9-1.8-3.6-3.2-5 c-1.4-1.4-3-2.5-4.9-3.2c-1.9-0.8-3.9-1.2-6.2-1.2h-11.8c-2.2,0-4.2,0.4-6.1,1.2c-1.9,0.8-3.4,1.9-4.8,3.2c-1.3,1.4-2.4,3-3.1,5 c-0.8,1.9-1.1,4-1.1,6.4c0,2.3,0.4,4.4,1.1,6.4c0.8,2,1.8,3.6,3.1,5.1c1.3,1.4,2.9,2.5,4.8,3.3c1.9,0.8,3.9,1.2,6.1,1.2H860.3z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.5 KiB |
44
docs/source/_static/images/logo-light-mode.svg
Normal file
44
docs/source/_static/images/logo-light-mode.svg
Normal file
@ -0,0 +1,44 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" enable-background="new 0 0 1000 1000" xml:space="preserve" viewBox="115.9 339.2 768.2 293.6">
|
||||
<rect x="0" display="none" fill="#FFFFFF" width="1000" height="1000"/>
|
||||
<g>
|
||||
<g>
|
||||
<polygon fill="#003C5E" points="400,368.6 425.5,383.4 451,398.1 451,368.6 451,339.2 425.5,353.9 "/>
|
||||
<polygon fill="#0071BC" points="451,398.1 425.5,412.8 400,427.5 400,398.1 400,368.6 425.5,383.4 "/>
|
||||
<polygon fill="#0E88CC" points="400,427.5 425.5,442.2 451,457 451,427.5 451,398.1 425.5,412.8 "/>
|
||||
<polygon fill="#29ABE2" points="451,457 425.5,471.7 400,486.4 400,457 400,427.5 425.5,442.2 "/>
|
||||
<polygon fill="#40BEC1" points="400,486.4 425.5,501.1 451,515.9 451,486.4 451,457 425.5,471.7 "/>
|
||||
<polygon fill="#65C8D0" points="502,486.4 476.5,501.1 451,515.9 451,486.4 451,457 476.5,471.7 "/>
|
||||
<polygon fill="#79DDE0" points="451,515.9 476.5,530.6 502,545.3 502,515.9 502,486.4 476.5,501.1 "/>
|
||||
<polygon fill="#003C5E" points="604,368.6 578.5,383.4 553,398.1 553,368.6 553,339.2 578.5,353.9 "/>
|
||||
<polygon fill="#0071BC" points="553,398.1 578.5,412.8 604,427.5 604,398.1 604,368.6 578.5,383.4 "/>
|
||||
<polygon fill="#0E88CC" points="604,427.5 578.5,442.2 553,457 553,427.5 553,398.1 578.5,412.8 "/>
|
||||
<polygon fill="#29ABE2" points="553,457 578.5,471.7 604,486.4 604,457 604,427.5 578.5,442.2 "/>
|
||||
<polygon fill="#40BEC1" points="604,486.4 578.5,501.1 553,515.8 553,486.4 553,457 578.5,471.7 "/>
|
||||
<polygon fill="#65C8D0" points="502,486.4 527.5,501.1 553,515.8 553,486.4 553,457 527.5,471.7 "/>
|
||||
<polygon fill="#79DDE0" points="553,515.8 527.5,530.6 502,545.3 502,515.8 502,486.4 527.5,501.1 "/>
|
||||
</g>
|
||||
<g>
|
||||
<g>
|
||||
<g>
|
||||
<path fill="#061459" d="M160.1,583.5h8.3v27.2c0,3.8-0.5,7-1.5,9.8c-1,2.8-2.5,5.1-4.6,6.9c-2.1,1.8-4.8,3.2-8.1,4.1 c-3.3,0.9-7.4,1.3-12.1,1.3c-4.7,0-8.7-0.4-12-1.3c-3.3-0.9-6-2.3-8.1-4.1c-2.1-1.8-3.6-4.1-4.6-6.9c-1-2.8-1.5-6.1-1.5-9.8 v-27.2h8.8v27.2c0,2.5,0.3,4.6,0.9,6.3c0.6,1.7,1.6,3.2,2.9,4.3c1.4,1.1,3.2,1.9,5.5,2.4c2.3,0.5,5.1,0.8,8.4,0.8 s6.2-0.3,8.4-0.8c2.3-0.5,4.1-1.3,5.5-2.4c1.4-1.1,2.3-2.5,2.9-4.3c0.6-1.7,0.9-3.8,0.9-6.3V583.5z"/>
|
||||
<path fill="#061459" d="M184,596.5v35.6h-8.1v-44.2c0-1.6,0.4-2.8,1.2-3.7c0.8-0.9,1.8-1.4,3.2-1.4c0.6,0,1.2,0.1,1.8,0.4 c0.6,0.3,1.2,0.7,1.8,1.3l34.4,34.1v-35.6h8.1v44.6c0,1.6-0.4,2.9-1.2,3.7c-0.8,0.9-1.8,1.3-3,1.3c-1.4,0-2.7-0.6-3.9-1.8 L184,596.5z"/>
|
||||
<path fill="#061459" d="M234.6,632.1v-8.5h36.5c2.3,0,4-0.6,5.3-1.7c1.2-1.2,1.8-2.7,1.8-4.6c0-2.1-0.6-3.7-1.8-4.7 c-1.2-1-3-1.6-5.3-1.6h-22.4c-2.3,0-4.3-0.3-6.2-1c-1.9-0.7-3.4-1.7-4.7-2.9c-1.3-1.2-2.3-2.7-2.9-4.4c-0.7-1.7-1-3.5-1-5.6 c0-2,0.3-3.8,1-5.5c0.6-1.7,1.6-3.1,2.9-4.3c1.3-1.2,2.8-2.2,4.7-2.8c1.9-0.7,4-1,6.4-1h35v8.5h-35c-2,0-3.5,0.5-4.6,1.6 c-1.1,1-1.6,2.5-1.6,4.4c0,1.9,0.5,3.3,1.6,4.4c1.1,1,2.6,1.5,4.5,1.5h22.3c5,0,8.7,1.2,11.3,3.5c2.6,2.3,3.9,5.8,3.9,10.6 c0,2.1-0.3,4-0.9,5.7c-0.6,1.7-1.6,3.2-2.8,4.5c-1.3,1.3-2.8,2.3-4.7,3c-1.9,0.7-4.1,1.1-6.7,1.1H234.6z"/>
|
||||
<path fill="#061459" d="M309.1,632.1V592h-18.5v-8.5h45.5v8.5h-18.5v40.2H309.1z"/>
|
||||
<path fill="#061459" d="M387,632.1l-12.3-13.5h-18.2v-7.5h20.3c3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1.8,3.6,3.1,5.1c1.3,1.4,2.9,2.5,4.8,3.3c1.9,0.8,3.9,1.2,6.1,1.2H510v8.5H483.6z"/>
|
||||
<path fill="#061459" d="M532.5,632.1V592H514v-8.5h45.5v8.5H541v40.2H532.5z"/>
|
||||
<path fill="#061459" d="M608.6,583.5h8.3v27.2c0,3.8-0.5,7-1.5,9.8c-1,2.8-2.5,5.1-4.6,6.9c-2.1,1.8-4.8,3.2-8.1,4.1 c-3.3,0.9-7.4,1.3-12.1,1.3c-4.7,0-8.7-0.4-12-1.3c-3.3-0.9-6-2.3-8.1-4.1c-2.1-1.8-3.6-4.1-4.6-6.9c-1-2.8-1.5-6.1-1.5-9.8 v-27.2h8.8v27.2c0,2.5,0.3,4.6,0.9,6.3c0.6,1.7,1.6,3.2,2.9,4.3c1.4,1.1,3.2,1.9,5.5,2.4c2.3,0.5,5.1,0.8,8.4,0.8 s6.2-0.3,8.4-0.8c2.3-0.5,4.1-1.3,5.5-2.4c1.4-1.1,2.3-2.5,2.9-4.3c0.6-1.7,0.9-3.8,0.9-6.3V583.5z"/>
|
||||
<path fill="#061459" d="M669.8,632.1l-12.3-13.5h-18.2v-7.5h20.3c3.1,0,5.4-0.8,7-2.5c1.6-1.7,2.3-4.1,2.3-7.3s-0.8-5.5-2.4-7.1 c-1.6-1.5-3.9-2.3-6.9-2.3h-26.5v40.2h-8.4v-48.7h35c2.8,0,5.2,0.4,7.4,1.2c2.2,0.8,4,2,5.6,3.5c1.5,1.5,2.7,3.4,3.5,5.6 c0.8,2.2,1.2,4.6,1.2,7.4c0,4.1-0.9,7.5-2.6,10.2c-1.8,2.7-4.2,4.7-7.4,5.9l14.7,14.8H669.8z"/>
|
||||
<path fill="#061459" d="M686.3,632.1v-48.7h43.5v8.5h-35v31.7h35.1v8.5H686.3z M701,611v-7.2h27v7.2H701z"/>
|
||||
<path fill="#061459" d="M737.1,632.1v-48.7h28.2c3.4,0,6.6,0.6,9.5,1.7c2.9,1.2,5.4,2.8,7.5,4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.9-9.6,1.9H848.5z M860.3,623.7c2.2,0,4.3-0.4,6.2-1.2 c1.9-0.8,3.5-1.9,4.9-3.3c1.4-1.4,2.4-3.1,3.2-5.1c0.8-2,1.1-4.1,1.1-6.4c0-2.3-0.4-4.4-1.1-6.3c-0.8-1.9-1.8-3.6-3.2-5 c-1.4-1.4-3-2.5-4.9-3.2c-1.9-0.8-3.9-1.2-6.2-1.2h-11.8c-2.2,0-4.2,0.4-6.1,1.2c-1.9,0.8-3.4,1.9-4.8,3.2c-1.3,1.4-2.4,3-3.1,5 c-0.8,1.9-1.1,4-1.1,6.4c0,2.3,0.4,4.4,1.1,6.4c0.8,2,1.8,3.6,3.1,5.1c1.3,1.4,2.9,2.5,4.8,3.3c1.9,0.8,3.9,1.2,6.1,1.2H860.3z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.9 KiB |
BIN
docs/source/_static/images/unstructured_small.png
Normal file
BIN
docs/source/_static/images/unstructured_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 94 KiB |
37
docs/source/_static/js/githubStargazers.js
Normal file
37
docs/source/_static/js/githubStargazers.js
Normal file
@ -0,0 +1,37 @@
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
const githubStarsComponents = document.getElementsByClassName("github-stars"),
|
||||
url = "https://api.github.com/repos/unstructured-io/unstructured";
|
||||
|
||||
const createNode = (element) => {
|
||||
return document.createElement(element);
|
||||
};
|
||||
const append = (parent, el) => {
|
||||
return parent.appendChild(el);
|
||||
};
|
||||
|
||||
fetch(url)
|
||||
.then((response) => {
|
||||
return response.json();
|
||||
})
|
||||
.then((data) => {
|
||||
let leftLink = createNode("a");
|
||||
let rightLink = createNode("a");
|
||||
leftLink.classList.add("--left");
|
||||
rightLink.classList.add("--right");
|
||||
leftLink.target = "_blank";
|
||||
leftLink.href = `${data.html_url}`;
|
||||
leftLink.innerHTML = `<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M8.43359 0.0678272C4.05472 0.5578 0.532587 4.1836 0.0566223 8.59336C-0.419342 13.1991 2.15086 17.3149 6.05377 18.8828C6.33935 18.9808 6.62493 18.7848 6.62493 18.3928V16.8249C6.62493 16.8249 6.24416 16.9229 5.76819 16.9229C4.43549 16.9229 3.86434 15.747 3.76914 15.061C3.67395 14.669 3.48357 14.375 3.19799 14.081C2.91241 13.9831 2.81721 13.9831 2.81721 13.8851C2.81721 13.6891 3.10279 13.6891 3.19799 13.6891C3.76914 13.6891 4.24511 14.375 4.43549 14.669C4.91146 15.453 5.48261 15.649 5.76819 15.649C6.14896 15.649 6.43454 15.551 6.62493 15.453C6.72012 14.767 7.0057 14.081 7.57686 13.6891C5.38742 13.1991 3.76914 11.9252 3.76914 9.76929C3.76914 8.69135 4.24511 7.61341 4.91146 6.82945C4.81626 6.63346 4.72107 6.14349 4.72107 5.45753C4.72107 5.06555 4.72107 4.47758 5.00665 3.88962C5.00665 3.88962 6.33935 3.88962 7.67205 5.16355C8.14802 4.96756 8.81437 4.86956 9.48071 4.86956C10.1471 4.86956 10.8134 4.96756 11.3846 5.16355C12.6221 3.88962 14.05 3.88962 14.05 3.88962C14.2404 4.47758 14.2404 5.06555 14.2404 5.45753C14.2404 6.24149 14.1452 6.63346 14.05 6.82945C14.7163 7.61341 15.1923 8.59335 15.1923 9.76929C15.1923 11.9252 13.574 13.1991 11.3846 13.6891C11.9557 14.179 12.3365 15.061 12.3365 15.9429V18.4908C12.3365 18.7848 12.6221 19.0788 13.0029 18.9808C16.525 17.5109 19 13.9831 19 9.86728C19 3.98761 14.1452 -0.618135 8.43359 0.0678272Z" fill="white"/>
|
||||
</svg> Star`;
|
||||
rightLink.target = "_blank";
|
||||
rightLink.href = `${data.html_url}/stargazers`;
|
||||
rightLink.innerHTML = data.stargazers_count.toLocaleString('en-US');
|
||||
Array.from(githubStarsComponents).forEach((component, index) => {
|
||||
append(component, leftLink.cloneNode(true));
|
||||
append(component, rightLink.cloneNode(true));
|
||||
});
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error);
|
||||
});
|
||||
});
|
||||
File diff suppressed because it is too large
Load Diff
36
docs/source/_templates/sidebar/brand.html
Normal file
36
docs/source/_templates/sidebar/brand.html
Normal file
@ -0,0 +1,36 @@
|
||||
{#-
|
||||
|
||||
Hi there!
|
||||
|
||||
You might be interested in https://pradyunsg.me/furo/customisation/sidebar/
|
||||
|
||||
Although if you're reading this, chances are that you're either familiar
|
||||
enough with Sphinx that you know what you're doing, or landed here from that
|
||||
documentation page.
|
||||
|
||||
Hope your day's going well. :)
|
||||
|
||||
-#}
|
||||
<a class="sidebar-brand{% if logo %} centered{% endif %}" href="{{ pathto(master_doc) }}">
|
||||
{% block brand_content %}
|
||||
{%- if logo_url %}
|
||||
<div class="sidebar-logo-container">
|
||||
<img class="sidebar-logo" src="{{ logo_url }}" alt="Logo" />
|
||||
</div>
|
||||
{%- endif %}
|
||||
{%- if theme_light_logo and theme_dark_logo %}
|
||||
<div class="sidebar-logo-container">
|
||||
<img class="sidebar-logo only-light" src="{{ pathto('_static/' + theme_light_logo, 1) }}" alt="Light Logo" />
|
||||
<img class="sidebar-logo only-dark" src="{{ pathto('_static/' + theme_dark_logo, 1) }}" alt="Dark Logo" />
|
||||
</div>
|
||||
{%- endif %}
|
||||
{% if not theme_sidebar_hide_name %}
|
||||
<span class="sidebar-brand-text">{{ docstitle if docstitle else project }}</span>
|
||||
{%- endif %}
|
||||
{% endblock brand_content %}
|
||||
</a>
|
||||
<div class="social social--sidebar" style="margin-top: 1em; display: flex; justify-content: right; gap: 8px">
|
||||
<a href="https://join.slack.com/t/unstructuredw-kbe4326/shared_invite/zt-1nlh1ot5d-dfY7zCRlhFboZrIWLA4Qgw"
|
||||
class="button--primary" target="_blank">Join <span aria-label="slack" class="slack-icon"></span></span></a>
|
||||
<div class="github-stars github-stars--sidebar"></div>
|
||||
</div>
|
||||
@ -15,12 +15,12 @@ sys.path.insert(0, os.path.abspath("../.."))
|
||||
|
||||
from unstructured.__version__ import __version__
|
||||
|
||||
project = "unstructured"
|
||||
copyright = "2022, Unstructured Technologies"
|
||||
project = "Unstructured"
|
||||
copyright = "2022-2023, Unstructured Technologies"
|
||||
author = "Unstructured Technologies"
|
||||
|
||||
# The full version, including alpha/beta/rc tags
|
||||
release = __version__
|
||||
# The full version, excluding alpha/beta/rc tags
|
||||
release = __version__.split("-")[0]
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
|
||||
@ -46,7 +46,7 @@ exclude_patterns = []
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
#
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
html_theme = "furo"
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
@ -54,4 +54,83 @@ html_theme = "sphinx_rtd_theme"
|
||||
html_static_path = ["_static"]
|
||||
|
||||
# Adding a custom css file in order to add custom css file and can change the necessary elements.
|
||||
html_favicon = "_static/images/unstructured_small.png"
|
||||
html_css_files = ["unstructured.css"]
|
||||
html_js_files = ["js/githubStargazers.js", "js/sidebarScrollPosition.js"]
|
||||
|
||||
html_theme_options = {
|
||||
"sidebar_hide_name": True,
|
||||
"light_logo": "images/logo-light-mode.svg",
|
||||
"dark_logo": "images/logo-dark-mode.svg",
|
||||
"light_css_variables": {
|
||||
"color-sidebar-background": "#FFFFFF",
|
||||
"color-sidebar-background-border": "#e9eaed",
|
||||
"color-sidebar-caption-text": "#484848",
|
||||
"color-sidebar-link-text": "#484848",
|
||||
"color-sidebar-link-text--top-level": "#484848",
|
||||
"color-sidebar-item-background--current": "transparent",
|
||||
"color-sidebar-item-background--hover": "transparent",
|
||||
"color-sidebar-item-expander-background": "transparent",
|
||||
"color-sidebar-item-expander-background--hover": "transparent",
|
||||
"color-sidebar-search-text": "#484848",
|
||||
"color-sidebar-search-background": "#FFFFFF",
|
||||
"color-sidebar-search-background--focus": "#FFFFFF",
|
||||
"color-sidebar-search-border": "#b9b9b9",
|
||||
"color-sidebar-search-border-focus": "#484848",
|
||||
"color-sidebar-current-text": "#ff675f",
|
||||
"color-content-foreground": "#484848",
|
||||
"color-toc-title": "#212529",
|
||||
"color-toc-item-text--hover": "#484848",
|
||||
"color-toc-item-text--active": "#484848",
|
||||
"color-table-header": "#FDDACA",
|
||||
"color-table-bg": "#FFE5D9",
|
||||
"color-table-row": "#FEEDE6",
|
||||
"color-link": "#ff675f",
|
||||
"color-link--hover": "#ff675f",
|
||||
"content-padding": "5em",
|
||||
"content-padding--small": "2em",
|
||||
"color-search-icon": "#484848",
|
||||
"color-search-placeholder": "#484848",
|
||||
"color-literal": "#FF675F",
|
||||
"toc-spacing-vertical": "3em",
|
||||
"color-page-info": "#646776",
|
||||
"toc-item-spacing-vertical": "1em",
|
||||
"color-img-background": "#ffffff",
|
||||
"sidebar-tree-space-above": "0",
|
||||
"sidebar-caption-space-above": "0",
|
||||
},
|
||||
"dark_css_variables": {
|
||||
"color-sidebar-background": "#131416",
|
||||
"color-sidebar-background-border": "#303335",
|
||||
"color-sidebar-caption-text": "#FFFFFF",
|
||||
"color-sidebar-link-text": "#FFFFFF",
|
||||
"color-sidebar-link-text--top-level": "#FFFFFF",
|
||||
"color-sidebar-item-background--current": "none",
|
||||
"color-sidebar-item-background--hover": "none",
|
||||
"color-sidebar-item-expander-background": "transparent",
|
||||
"color-sidebar-item-expander-background--hover": "transparent",
|
||||
"color-sidebar-search-text": "#FFFFFF",
|
||||
"color-sidebar-search-background": "#131416",
|
||||
"color-sidebar-search-background--focus": "transparent",
|
||||
"color-sidebar-search-border": "#FFFFFF",
|
||||
"color-sidebar-search-border-focus": "#FFFFFF",
|
||||
"color-sidebar-search-foreground": "#FFFFFF",
|
||||
"color-sidebar-current-text": "#FFC2BF",
|
||||
"color-content-foreground": "#FFFFFF",
|
||||
"color-toc-title": "#FFFFFF",
|
||||
"color-toc-item-text--hover": "#FFFFFF",
|
||||
"color-toc-item-text--active": "#FFFFFF",
|
||||
"color-table-header": "#131416",
|
||||
"color-table-bg": "#232427",
|
||||
"color-table-row": "#444444",
|
||||
"color-link": "#FFC2BF",
|
||||
"color-link--hover": "#FFC2BF",
|
||||
"color-search-icon": "#FFFFFF",
|
||||
"color-search-placeholder": "#FFFFFF",
|
||||
"color-literal": "#F8C0A7",
|
||||
"color-page-info": "#FFFFFF",
|
||||
"color-img-background": "#757575",
|
||||
"sidebar-tree-space-above": "0",
|
||||
"sidebar-caption-space-above": "0",
|
||||
},
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
sphinx
|
||||
# NOTE(alan) - Pinning to resolve a conflict with sphinx. We can unpin on next sphinx_rtd_theme release.
|
||||
sphinx_rtd_theme==1.2.0rc3
|
||||
furo
|
||||
|
||||
# NOTE(robinson) - The following dependencies are pinned to address security scans
|
||||
certifi>=2022.12.07
|
||||
|
||||
@ -8,6 +8,8 @@ alabaster==0.7.13
|
||||
# via sphinx
|
||||
babel==2.11.0
|
||||
# via sphinx
|
||||
beautifulsoup4==4.11.2
|
||||
# via furo
|
||||
certifi==2022.12.7
|
||||
# via
|
||||
# -r requirements/build.in
|
||||
@ -18,6 +20,8 @@ docutils==0.18.1
|
||||
# via
|
||||
# sphinx
|
||||
# sphinx-rtd-theme
|
||||
furo==2022.12.7
|
||||
# via -r requirements/build.in
|
||||
idna==3.4
|
||||
# via requests
|
||||
imagesize==1.4.1
|
||||
@ -31,17 +35,25 @@ markupsafe==2.1.2
|
||||
packaging==23.0
|
||||
# via sphinx
|
||||
pygments==2.14.0
|
||||
# via sphinx
|
||||
# via
|
||||
# furo
|
||||
# sphinx
|
||||
pytz==2022.7.1
|
||||
# via babel
|
||||
requests==2.28.2
|
||||
# via sphinx
|
||||
snowballstemmer==2.2.0
|
||||
# via sphinx
|
||||
soupsieve==2.3.2.post1
|
||||
# via beautifulsoup4
|
||||
sphinx==6.1.3
|
||||
# via
|
||||
# -r requirements/build.in
|
||||
# furo
|
||||
# sphinx-basic-ng
|
||||
# sphinx-rtd-theme
|
||||
sphinx-basic-ng==1.0.0b1
|
||||
# via furo
|
||||
sphinx-rtd-theme==1.2.0rc3
|
||||
# via -r requirements/build.in
|
||||
sphinxcontrib-applehelp==1.0.4
|
||||
|
||||
@ -141,7 +141,7 @@ matplotlib-inline==0.1.6
|
||||
# via
|
||||
# ipykernel
|
||||
# ipython
|
||||
mistune==2.0.4
|
||||
mistune==2.0.5
|
||||
# via nbconvert
|
||||
nbclassic==0.5.1
|
||||
# via notebook
|
||||
@ -188,7 +188,7 @@ pip-tools==6.12.2
|
||||
# via -r requirements/dev.in
|
||||
pkgutil-resolve-name==1.3.10
|
||||
# via jsonschema
|
||||
platformdirs==2.6.2
|
||||
platformdirs==3.0.0
|
||||
# via jupyter-core
|
||||
prometheus-client==0.16.0
|
||||
# via
|
||||
|
||||
@ -34,7 +34,7 @@ coloredlogs==15.0.1
|
||||
# via onnxruntime
|
||||
contourpy==1.0.7
|
||||
# via matplotlib
|
||||
cryptography==39.0.0
|
||||
cryptography==39.0.1
|
||||
# via pdfminer-six
|
||||
cycler==0.11.0
|
||||
# via matplotlib
|
||||
@ -44,7 +44,7 @@ effdet==0.3.0
|
||||
# via layoutparser
|
||||
et-xmlfile==1.1.0
|
||||
# via openpyxl
|
||||
fastapi==0.89.1
|
||||
fastapi==0.90.0
|
||||
# via unstructured-inference
|
||||
filelock==3.9.0
|
||||
# via huggingface-hub
|
||||
@ -200,7 +200,7 @@ sniffio==1.3.0
|
||||
# anyio
|
||||
# httpcore
|
||||
# httpx
|
||||
starlette==0.22.0
|
||||
starlette==0.23.0
|
||||
# via fastapi
|
||||
sympy==1.11.1
|
||||
# via onnxruntime
|
||||
|
||||
@ -40,7 +40,7 @@ mccabe==0.7.0
|
||||
# via flake8
|
||||
multidict==6.0.4
|
||||
# via yarl
|
||||
mypy==0.991
|
||||
mypy==1.0.0
|
||||
# via -r requirements/test.in
|
||||
mypy-extensions==1.0.0
|
||||
# via
|
||||
@ -52,7 +52,7 @@ packaging==23.0
|
||||
# pytest
|
||||
pathspec==0.11.0
|
||||
# via black
|
||||
platformdirs==2.6.2
|
||||
platformdirs==3.0.0
|
||||
# via black
|
||||
pluggy==1.0.0
|
||||
# via pytest
|
||||
@ -78,9 +78,9 @@ tomli==2.0.1
|
||||
# coverage
|
||||
# mypy
|
||||
# pytest
|
||||
types-requests==2.28.11.8
|
||||
types-requests==2.28.11.12
|
||||
# via -r requirements/test.in
|
||||
types-urllib3==1.26.25.4
|
||||
types-urllib3==1.26.25.5
|
||||
# via types-requests
|
||||
typing-extensions==4.4.0
|
||||
# via
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user