Commit 6b973b2 1 parent c0e2c13 commit 6b973b2 Copy full SHA for 6b973b2
File tree 4 files changed +26
-5
lines changed
4 files changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ jobs:
34
34
- name : " Set docs version"
35
35
run : |
36
36
version="${{ (inputs.plan != '' && fromJson(inputs.plan).announcement_tag) || inputs.ref }}"
37
- # if version is missing, exit with error
38
- if [[ -z "$version" ] ]; then
39
- echo "Can't build docs without a version. "
40
- exit 1
37
+ # if version is missing, use 'latest'
38
+ if [ -z "$version" ]; then
39
+ echo "Using 'latest' as version"
40
+ version="latest"
41
41
fi
42
42
43
43
# Use version as display name for now
@@ -145,6 +145,7 @@ jobs:
145
145
GITHUB_TOKEN : ${{ secrets.ASTRAL_DOCS_PAT }}
146
146
run : |
147
147
branch_name="${{ env.branch_name }}"
148
+
148
149
# auto-merge the PR if the build was triggered by a release. Manual builds should be reviewed by a human.
149
150
# give the PR a few seconds to be created before trying to auto-merge it
150
151
sleep 10
Original file line number Diff line number Diff line change
1
+ {% extends "base.html" %}
2
+
3
+ {% block extrahead %}
4
+ < link rel ="apple-touch-icon " sizes ="180x180 " href ="/static/apple-touch-icon.png "/>
5
+ < link rel ="icon " type ="image/png " sizes ="32x32 " href ="/static/favicon-32x32.png "/>
6
+ < link rel ="icon " type ="image/png " sizes ="16x16 " href ="/static/favicon-16x16.png "/>
7
+ < link rel ="manifest " href ="/static/site.webmanifest "/>
8
+ < link rel ="mask-icon " href ="/static/safari-pinned-tab.svg " color ="#2e183d "/>
9
+ < meta name ="msapplication-TileColor " content ="#d7ff64 "/>
10
+ < meta name ="theme-color " content ="#ffffff "/>
11
+ < meta name ="robots " content ="index,follow "/>
12
+ < script type ="application/ld+json ">
13
+ {
14
+ "@context" : "https://schema.org" ,
15
+ "@type" : "WebSite" ,
16
+ "name" : "Astral" ,
17
+ "url" : "https://astral.sh"
18
+ }
19
+ </ script >
20
+ {% endblock %}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ site_name: Ruff
2
2
theme :
3
3
name : material
4
4
logo : assets/bolt.svg
5
- favicon : assets/ruff- favicon.png
5
+ favicon : assets/favicon.ico
6
6
features :
7
7
- navigation.instant
8
8
- navigation.instant.prefetch
You can’t perform that action at this time.
0 commit comments