Skip to content

Commit 79a4320

Browse files
committed
Use https by default
1 parent 2adfd00 commit 79a4320

File tree

5 files changed

+8
-15
lines changed

5 files changed

+8
-15
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
Graphene docs are powered by [gatsby](https://github.com/gatsbyjs/gatsby).
44

5-
65
## Installation
76

87
For running locally this docs. You have to execute
8+
99
```bash
1010
yarn
1111
```
@@ -34,7 +34,6 @@ If you want to have the playground running too, just execute
3434

3535
This command will clone the [pypyjs-release-nojit](https://github.com/pypyjs/pypyjs-release-nojit) repo, update it with the latest graphene, graphql-core and graphql-relay code, and make it available for the `/playground` view in the docs.
3636

37-
3837
## Automation
3938

40-
Each time we modify the docs in the `master` branch Netlify job runs and updates the website, so [Graphene's website](http://graphene-python.org) have always the latest layout.
39+
Each time we modify the docs in the `master` branch Netlify job runs and updates the website, so [Graphene's website](https://graphene-python.org) have always the latest layout.

scripts/replace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# We replace the docs ones
2-
find public/docs \( -name \*.js -o -name \*.css -o -name \*.html \) -type f -exec sed -i 's/\/__PATH_PREFIX__/http:\/\/graphene-python.org/g' {} \;
2+
find public/docs \( -name \*.js -o -name \*.css -o -name \*.html \) -type f -exec sed -i 's/\/__PATH_PREFIX__/https:\/\/graphene-python.org/g' {} \;
33

44
# We remove the script tags
55
# find public/docs \( -name \*.html \) -type f -exec sed -i -e ':a' -e 'N' -e '$!ba' -e 's/\n/ˇ/g' -e 's~<script.*</script>~~g' -e 's/ˇ//g' {} \;

src/layouts/index.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,6 @@ h6 {
188188
color: #df4a2e;
189189
border: 1px solid #df4a2e;
190190
}
191-
ul,
192-
ol {
193-
margin: 0;
194-
padding: 0;
195-
list-style: none;
196-
}
197191

198192
a {
199193
color: #337ab7;

src/layouts/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class Header extends React.Component {
147147
background-repeat: no-repeat;
148148
background-position-y: center;
149149
background-position-x: 5px;
150-
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
150+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
151151
}
152152
.background-mobile-menu {
153153
position: fixed;
@@ -165,7 +165,7 @@ class Header extends React.Component {
165165
}
166166
:global(#search-docs):focus {
167167
outline: none;
168-
border-bottom-color: rgba(0, 0, 0, 0.8);
168+
border-bottom-color: rgba(0, 0, 0, 0.6);
169169
}
170170
.navbar-header-contrast :global(#search-docs) {
171171
background-image: url("/search-white.svg");

src/pages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,19 @@ schema.<b>execute</b>('''
102102
<ul>
103103
<li>
104104
<b>Django</b>:{" "}
105-
<a href="http://docs.graphene-python.org/projects/django/en/latest/">
105+
<a href="https://docs.graphene-python.org/projects/django/en/latest/">
106106
Graphene-Django
107107
</a>
108108
</li>
109109
<li>
110110
<b>SQLAlchemy</b>:{" "}
111-
<a href="http://docs.graphene-python.org/projects/sqlalchemy/en/latest/">
111+
<a href="https://docs.graphene-python.org/projects/sqlalchemy/en/latest/">
112112
Graphene-SQLAlchemy
113113
</a>
114114
</li>
115115
<li>
116116
<b>Google App Engine</b>:{" "}
117-
<a href="http://docs.graphene-python.org/projects/gae/en/latest/">
117+
<a href="https://docs.graphene-python.org/projects/gae/en/latest/">
118118
Graphene-GAE
119119
</a>
120120
</li>

0 commit comments

Comments
 (0)