Skip to content

Commit a89c505

Browse files
committed
initial commit
0 parents  commit a89c505

163 files changed

Lines changed: 8393 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Contributing Guidelines
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/SECURITY.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Use this section to tell people about which versions of your project are
6+
currently being supported with security updates.
7+
8+
| Version | Supported |
9+
| ------- | ------------------ |
10+
| 5.1.x | :white_check_mark: |
11+
| 5.0.x | :x: |
12+
| 4.0.x | :white_check_mark: |
13+
| < 4.0 | :x: |
14+
15+
## Reporting a Vulnerability
16+
17+
Use this section to tell people how to report a vulnerability.
18+
19+
Tell them where to go, how often they can expect to get an update on a
20+
reported vulnerability, what to expect if the vulnerability is accepted or
21+
declined, etc.

.github/workflows/sphinx.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Sphinx build
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Build HTML
16+
uses: ammaraskar/sphinx-action@7.0.0
17+
with:
18+
docs-folder: "./docs"
19+
20+
21+
- name: Upload static files as artifact
22+
id: deployment
23+
uses: actions/upload-pages-artifact@v3
24+
with:
25+
path: docs/_build/html/
26+
27+
# Deployment job
28+
deploy:
29+
needs: build
30+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
31+
runs-on: ubuntu-latest
32+
environment:
33+
name: github-pages
34+
url: ${{ steps.deployment.outputs.page_url }}
35+
# Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
36+
permissions:
37+
contents: read
38+
pages: write
39+
id-token: write
40+
steps:
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
if: github.ref == 'refs/heads/master'
44+
uses: actions/deploy-pages@v4
45+

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
<p align="center">
3+
<a href="https://gallery.stairlab.io/">
4+
<img src="https://veux.io/_static/images/content_images/fedeas.png" alt="FEDEASLab logo" width="200" >
5+
</a>
6+
</p>
7+
8+
<hr>
9+
10+
<h3 align="center">xsection</h3>
11+
12+
13+
<p align="center">
14+
Structural cross section library
15+
<br>
16+
<!-- <a href="https://xsection.github.io/"><strong>Documentation »</strong></a> -->
17+
</p>
18+
19+
20+

docs/Makefile

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
SHELL = /bin/bash
2+
SPHINXOPTS ?=
3+
SPHINXBUILD ?= sphinx-build
4+
SOURCEDIR = .
5+
BUILDDIR = _build
6+
7+
8+
9+
# Put this first so that "make" without argument is like "make help".
10+
help:
11+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
12+
13+
14+
html: Makefile
15+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
16+
17+
18+
.PHONY: help Makefile
19+
20+
# Catch-all target: route all unknown targets to Sphinx using the new
21+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
22+
%: Makefile
23+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
24+
25+
APIDOC = python3 tools/doc.py
26+
APIDIR = docs/user/
27+
28+
conda:
29+
for i in 7 8 9 10; do conda mambabuild -c local -c conda-forge etc/conda --py 3.$i; done
30+
31+
pypa:
32+
sudo ./etc/pypa/docker-build
33+
34+
35+
.PHONY: docs

docs/_static/css/css/tabs.css.min.2774227fab8d6dfd0b5b1c8f06b5abafeaf3d6247bec4efda87ac5a587b3d2bc.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
.casestudies {
2+
padding: 30px
3+
}
4+
5+
.casestudies a:hover {
6+
text-decoration: none;
7+
color: #000
8+
}
9+
10+
.casestudies-box-container {
11+
display: flex;
12+
flex-wrap: wrap;
13+
justify-content: center
14+
}
15+
16+
.casestudies-box-content {
17+
height: 450px;
18+
min-width: 275px;
19+
width: 350px;
20+
margin: 30px auto;
21+
border-radius: 3px
22+
}
23+
24+
.casestudies a {
25+
color: var(--colorPrimaryDark) !important
26+
}
27+
28+
.casestudies-box-title {
29+
margin: 15px;
30+
font-size: 16px;
31+
text-transform: uppercase
32+
}
33+
34+
.casestudies-box-text {
35+
margin: 30px 15px;
36+
font-size: 14px
37+
}
38+
39+
@media only screen and (max-width:1300px) {
40+
.casestudies-box-container {
41+
justify-content: center
42+
}
43+
}
44+
45+
@media only screen and (min-width:600px) and (max-width:700px) {
46+
.casestudies-box-container {
47+
flex-direction: column;
48+
align-items: center
49+
}
50+
}
51+
52+
.casestudies-underline {
53+
display: inline-block;
54+
vertical-align: middle;
55+
-webkit-transform: perspective(1px)translateZ(0);
56+
transform: perspective(1px)translateZ(0);
57+
box-shadow: 0 8px 15px rgba(0, 0, 0, .1);
58+
position: relative;
59+
overflow: hidden
60+
}
61+
62+
.casestudies-underline:before {
63+
content: "";
64+
position: absolute;
65+
z-index: -1;
66+
left: 0;
67+
right: 100%;
68+
bottom: 0;
69+
background: var(--colorPrimaryDark);
70+
height: 4px;
71+
-webkit-transition-property: right;
72+
transition-property: right;
73+
-webkit-transition-duration: .3s;
74+
transition-duration: .3s;
75+
-webkit-transition-timing-function: ease-out;
76+
transition-timing-function: ease-out
77+
}
78+
79+
.casestudies-underline:hover:before,
80+
.casestudies-underline:focus:before,
81+
.casestudies-underline:active:before {
82+
right: 0
83+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* ==========================================================================
2+
Main SCSS file / Fresh
3+
========================================================================== */
4+
5+
//Imports
6+
@import 'partials/colors';
7+
@import 'partials/navbar';
8+
@import 'partials/animations';
9+
@import 'partials/utils';

0 commit comments

Comments
 (0)