Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Commit abc68a1

Browse files
committed
Create sphinx-deploy.yml
1 parent ee367b7 commit abc68a1

File tree

8 files changed

+49
-124
lines changed

8 files changed

+49
-124
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Deploy Sphinx documentation to Pages
2+
3+
on:
4+
push:
5+
branches: [main] # branch to trigger deployment
6+
7+
jobs:
8+
pages:
9+
runs-on: ubuntu-latest
10+
environment:
11+
name: github-pages
12+
url: ${{ steps.deployment.outputs.page_url }}
13+
permissions:
14+
pages: write
15+
id-token: write
16+
steps:
17+
- id: deployment
18+
uses: sphinx-notes/pages@v3

.gitlab-ci.yml

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

00localbuild.sh

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

COPYING.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
11
## Per-file attritubion
22

3-
Allan Day, Calum Benson, Adam Elman, Seth Nickell, Colin Robertson:
4-
5-
* buttons.rst
6-
* check-boxes.rst:
7-
* dialogs.rst
8-
* keyboard-interaction.rst
9-
* menus.rst
10-
* radio-buttons.rst
11-
* sliders.rst
12-
* spin-buttons.rst
13-
* text-fields.rst
14-
* progress-bars.rst
15-
* tabs.rst
16-
* model-based.rst
17-
* drop-downs.rst
18-
19-
Allan Day, William Jon McCann:
20-
21-
* typography.rst
22-
23-
Allan Day, Calum Benson, Adam Elman, Seth Nickell, Colin Robertson, Ekaterina Gerasimova:
24-
25-
* writing-style.rst
3+
FIXME

Makefile

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

README.md

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,3 @@
1-
# Human Interface Guidelines
2-
3-
The GNOME Human Interface Guidelines are the primary source of UX design documentation for GNOME. Live at [developer.gnome.org/hig](https://developer.gnome.org/hig).
4-
5-
This version replaces the previous version which was hosted as part of the [gnome-devel-docs](https://gitlab.gnome.org/GNOME/gnome-devel-docs/) module.
6-
7-
The HIG is written in [reStructuredText](https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html), generated using [Sphinx](https://www.sphinx-doc.org/en/master/index.html), and hosted using [GitLab pages](https://docs.gitlab.com/ee/user/project/pages/). It can be viewed online [here](https://developer.gnome.org/hig/).
8-
9-
## Goals for the HIG
10-
11-
Goals:
12-
13-
- App designers and developers are the primary audiences
14-
- Document the most important and commond design patterns
15-
- Be easy to digest: don't be too long or verbose
16-
- Use examples and demos as much as possible
17-
18-
Non-goals:
19-
20-
- Not a generic guide to UX design, and shouldn't try to fill in basic design knowledge, but should be accessible to those with relatively little design expertise
21-
- Don't document every design pattern or possible variation
22-
- Don't be prescriptive: allow designers to make their own choices, and give them the space to be creative
23-
24-
## How to build and edit
25-
26-
Sphinx can be used to build and preview the static html site locally, either with the browser or VS Code.
27-
28-
### 1. Install dependencies
29-
30-
On Fedora, run:
31-
32-
```
33-
dnf install -y python3-sphinx python3-pip
34-
pip3 install --upgrade furo
35-
```
36-
37-
### 2. Make changes
38-
39-
VS Code is a good choice for this, as it is able to preview the source files as rendered HTML.
40-
41-
### 3. Build
42-
43-
Building the docs checks for errors, as well as producing local static HTML of the HIG website.
44-
45-
To build, run `00localbuild.sh` from the project root. The build output can then be found in ``/build``.
46-
47-
### 4. Deploy changes
48-
49-
Changes to `main` branch are automatically deployed to the site using CI.
1+
# Granite.code Docs
502

3+
FIXME

requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
sphinx==6.2.*
22
furo
3+
sphinx-autobuild

requirements.txt

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
55
# pip-compile requirements.in
66
#
77
alabaster==0.7.16
88
# via sphinx
9+
anyio==4.9.0
10+
# via
11+
# starlette
12+
# watchfiles
913
babel==2.14.0
1014
# via sphinx
1115
beautifulsoup4==4.12.3
@@ -14,12 +18,20 @@ certifi==2023.11.17
1418
# via requests
1519
charset-normalizer==3.3.2
1620
# via requests
21+
click==8.2.0
22+
# via uvicorn
23+
colorama==0.4.6
24+
# via sphinx-autobuild
1725
docutils==0.19
1826
# via sphinx
1927
furo==2024.1.29
2028
# via -r requirements.in
29+
h11==0.16.0
30+
# via uvicorn
2131
idna==3.6
22-
# via requests
32+
# via
33+
# anyio
34+
# requests
2335
imagesize==1.4.1
2436
# via sphinx
2537
jinja2==3.1.3
@@ -34,6 +46,8 @@ pygments==2.17.2
3446
# sphinx
3547
requests==2.31.0
3648
# via sphinx
49+
sniffio==1.3.1
50+
# via anyio
3751
snowballstemmer==2.2.0
3852
# via sphinx
3953
soupsieve==2.5
@@ -42,7 +56,10 @@ sphinx==6.2.1
4256
# via
4357
# -r requirements.in
4458
# furo
59+
# sphinx-autobuild
4560
# sphinx-basic-ng
61+
sphinx-autobuild==2024.10.3
62+
# via -r requirements.in
4663
sphinx-basic-ng==1.0.0b2
4764
# via furo
4865
sphinxcontrib-applehelp==1.0.8
@@ -57,5 +74,13 @@ sphinxcontrib-qthelp==1.0.7
5774
# via sphinx
5875
sphinxcontrib-serializinghtml==1.1.10
5976
# via sphinx
77+
starlette==0.46.2
78+
# via sphinx-autobuild
6079
urllib3==2.1.0
6180
# via requests
81+
uvicorn==0.34.2
82+
# via sphinx-autobuild
83+
watchfiles==1.0.5
84+
# via sphinx-autobuild
85+
websockets==15.0.1
86+
# via sphinx-autobuild

0 commit comments

Comments
 (0)