Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils-sfg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils-sfg
Commits
1c7da922
Commit
1c7da922
authored
1 year ago
by
Frederik Hennig
Browse files
Options
Downloads
Patches
Plain Diff
publish docs to gitlab-pages
parent
734b370a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#57465
failed
1 year ago
Stage: pretest
Stage: test
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+4
-0
4 additions, 0 deletions
.gitignore
.gitlab-ci.yml
+28
-0
28 additions, 0 deletions
.gitlab-ci.yml
docs/index.md
+5
-5
5 additions, 5 deletions
docs/index.md
with
37 additions
and
5 deletions
.gitignore
+
4
−
0
View file @
1c7da922
...
@@ -16,3 +16,7 @@ dist
...
@@ -16,3 +16,7 @@ dist
*.tar.gz
*.tar.gz
*.whl
*.whl
*.egg-info
*.egg-info
# mkdocs
site
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
28
−
0
View file @
1c7da922
stages
:
stages
:
-
pretest
-
pretest
-
test
-
deploy
linter
:
linter
:
stage
:
pretest
stage
:
pretest
...
@@ -23,3 +25,29 @@ typechecker:
...
@@ -23,3 +25,29 @@ typechecker:
-
mypy src/pystencilssfg
-
mypy src/pystencilssfg
tags
:
tags
:
-
docker
-
docker
build-documentation
:
stage
:
test
image
:
i10git.cs.fau.de:5005/pycodegen/pycodegen/documentation
script
:
-
pip install mkdocs mkdocs-material mkdocstrings[python]
-
mkdocs build
tags
:
-
docker
artifacts
:
paths
:
-
site
pages
:
image
:
i10git.cs.fau.de:5005/pycodegen/pycodegen/full
stage
:
deploy
script
:
-
ls -l
-
mv site public
# folder has to be named "public" for gitlab to publish it
artifacts
:
paths
:
-
public
tags
:
-
docker
only
:
-
master@da15siwa/pystencils-sfg
This diff is collapsed.
Click to expand it.
docs/index.md
+
5
−
5
View file @
1c7da922
...
@@ -10,10 +10,10 @@ and your C/C++/Cuda/HIP framework.
...
@@ -10,10 +10,10 @@ and your C/C++/Cuda/HIP framework.
Clone the
[
repository
](
https://i10git.cs.fau.de/da15siwa/pystencils-sfg
)
and install the package into your current Python environment
Clone the
[
repository
](
https://i10git.cs.fau.de/da15siwa/pystencils-sfg
)
and install the package into your current Python environment
(usage of virtual environments is strongly encouraged!):
(usage of virtual environments is strongly encouraged!):
```
sh
ell
```
ba
sh
$
git clone https://i10git.cs.fau.de/da15siwa/pystencils-sfg.git
git clone https://i10git.cs.fau.de/da15siwa/pystencils-sfg.git
$
cd
pystencils-sfg
cd
pystencils-sfg
$
pip
install
.
pip
install
.
```
```
### From PyPI
### From PyPI
...
@@ -55,7 +55,7 @@ with SourceFileGenerator() as sfg:
...
@@ -55,7 +55,7 @@ with SourceFileGenerator() as sfg:
Take this code, store it into a file
`poisson_smoother.py`
, and enter the magic words into a terminal:
Take this code, store it into a file
`poisson_smoother.py`
, and enter the magic words into a terminal:
```
shell
```
shell
$
python poisson_smoother.py
python poisson_smoother.py
```
```
This command will execute the code generator through the
`SourceFileGenerator`
context manager.
This command will execute the code generator through the
`SourceFileGenerator`
context manager.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment