Skip to content

Commit afac3db

Browse files
committed
Remove _static directory to avoid potential conflicts with GH pages
1 parent 141da1f commit afac3db

Some content is hidden

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

61 files changed

+104
-94
lines changed

docs-v2.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
#!/usr/bin/env bash
22

3-
sphinx-build -E -c ./docs-src-v2/_themes/slack/ -b html docs-src-v2 docs-v2 && touch ./docs-v2/.nojekyll
3+
sphinx-build -E -c ./docs-src-v2/_themes/slack/ -b html docs-src-v2 docs-v2 \
4+
&& touch ./docs-v2/.nojekyll \
5+
&& cd docs-v2/ \
6+
&& mv _static assets \
7+
&& find . -name '*.html' | xargs sed -i '' 's/_static/assets/'g \
8+
&& cd -

docs-v2/about.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@
3838
/>
3939
<link
4040
rel="stylesheet"
41-
href="./_static/default.css"
41+
href="./assets/default.css"
4242
type="text/css"
4343
/>
4444
<link
4545
rel="stylesheet"
46-
href="./_static/pygments.css"
46+
href="./assets/pygments.css"
4747
type="text/css"
4848
/>
4949
<link
5050
rel="stylesheet"
51-
href="./_static/docs.css"
51+
href="./assets/docs.css"
5252
type="text/css"
5353
/>
5454
<link
@@ -279,4 +279,4 @@ <h2>Slack Developer Kit for Python<a class="headerlink" href="#product-name" tit
279279
</script>
280280
<script async src="https://www.google-analytics.com/analytics.js"></script>
281281
</body>
282-
</html>
282+
</html>

0 commit comments

Comments
 (0)