Make sure main branch builds docs too
This commit is contained in:
parent
d882d6ad22
commit
5259d4bc3d
2 changed files with 5 additions and 4 deletions
|
|
@ -4,12 +4,12 @@ name: documentation
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master, develop ]
|
branches: [ main, develop ]
|
||||||
paths:
|
paths:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- 'evennia/contrib/**'
|
- 'evennia/contrib/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master, develop ]
|
branches: [ main, develop ]
|
||||||
paths:
|
paths:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- 'evennia/contrib/**'
|
- 'evennia/contrib/**'
|
||||||
|
|
@ -48,8 +48,8 @@ jobs:
|
||||||
cd gamedir
|
cd gamedir
|
||||||
evennia migrate
|
evennia migrate
|
||||||
|
|
||||||
- name: Build and deploy docs (only from master/develop branch)
|
- name: Build and deploy docs (only from main/develop branch)
|
||||||
if: ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master'}}
|
if: ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'}}
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "docbuilder@evennia.com"
|
git config --global user.email "docbuilder@evennia.com"
|
||||||
git config --global user.name "Evennia docbuilder action"
|
git config --global user.name "Evennia docbuilder action"
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,7 @@ Start small. Evennia's [Beginner tutorial](Howtos/Beginner-Tutorial/Beginner-Tut
|
||||||
```{sidebar}
|
```{sidebar}
|
||||||
See also our [link page](./Links.md) for some reading suggestions.
|
See also our [link page](./Links.md) for some reading suggestions.
|
||||||
```
|
```
|
||||||
|
|
||||||
While Python is considered a very easy programming language to get into, you do have a learning curve to climb if you are new to programming. The beginner-tutorial has a [basic introduction to Python](Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Python-basic-introduction.md), but if you are completely new, you should probably also sit down with a full Python beginner's tutorial at some point. There are plenty of them on the web if you look around.
|
While Python is considered a very easy programming language to get into, you do have a learning curve to climb if you are new to programming. The beginner-tutorial has a [basic introduction to Python](Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Python-basic-introduction.md), but if you are completely new, you should probably also sit down with a full Python beginner's tutorial at some point. There are plenty of them on the web if you look around.
|
||||||
|
|
||||||
To code your dream game in Evennia you don't need to be a Python guru, but you do need to be able to read example code containing at least these basic Python features:
|
To code your dream game in Evennia you don't need to be a Python guru, but you do need to be able to read example code containing at least these basic Python features:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue