Skip to content

Commit 7149e36

Browse files
Merge pull request #1 from sktime/part2
Major Update
2 parents 7c8e60f + 410a89e commit 7149e36

Some content is hidden

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

66 files changed

+8932
-5680
lines changed

.github/workflows/docs.yml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name: Quarto Documentation
2+
3+
on:
4+
push:
5+
branches: [main]
6+
tags: [v*]
7+
workflow_dispatch:
8+
pull_request:
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
permissions:
15+
actions: write
16+
contents: write # needed for gh-pages
17+
18+
jobs:
19+
build-docs:
20+
name: Build and Deploy Documentation
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v4
26+
27+
- name: Set up Python
28+
uses: actions/setup-python@v6
29+
with:
30+
python-version: '3.11'
31+
32+
- name: Install dependencies
33+
run: |
34+
python -m pip install --upgrade pip
35+
pip install ".[dev]"
36+
37+
- name: Set PYTHONPATH
38+
run: echo "PYTHONPATH=$GITHUB_WORKSPACE/src" >> $GITHUB_ENV
39+
40+
- name: Install Quarto
41+
uses: quarto-dev/quarto-actions/setup@v2
42+
43+
- name: Check Quarto installation
44+
run: |
45+
quarto check
46+
47+
- name: Render Quarto site
48+
run: |
49+
quarto render book
50+
51+
# Deploy Preview for PRs
52+
- name: Publish PR Preview
53+
if: github.event_name == 'pull_request'
54+
uses: peaceiris/actions-gh-pages@v4
55+
with:
56+
github_token: ${{ secrets.GITHUB_TOKEN }}
57+
publish_dir: ./docs/_site
58+
destination_dir: previews/PR${{ github.event.number }}
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
62+
# Deploy Dev Site from main
63+
- name: Publish Dev Site
64+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
65+
uses: peaceiris/actions-gh-pages@v4
66+
with:
67+
github_token: ${{ secrets.GITHUB_TOKEN }}
68+
publish_dir: ./docs/_site
69+
destination_dir: dev
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72+
73+
# Deploy Versioned Release
74+
- name: Publish Versioned Site
75+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
76+
uses: peaceiris/actions-gh-pages@v4
77+
with:
78+
github_token: ${{ secrets.GITHUB_TOKEN }}
79+
publish_dir: ./docs/_site
80+
destination_dir: ${{ github.ref_name }}
81+
env:
82+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
84+
- name: Create 'latest' alias for stable release
85+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-')
86+
run: |
87+
version="${GITHUB_REF#refs/tags/}"
88+
echo "Detected version: $version"
89+
mkdir -p ./latest
90+
cp -r ./docs/_site/* ./latest/
91+
92+
- name: Publish stable release to 'latest'
93+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-')
94+
uses: peaceiris/actions-gh-pages@v4
95+
with:
96+
github_token: ${{ secrets.GITHUB_TOKEN }}
97+
publish_dir: ./latest
98+
destination_dir: latest
99+
env:
100+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
7+
**/lightning_logs/**
8+
9+
# C extensions
10+
*.so
11+
12+
# Distribution / packaging
13+
.Python
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
wheels/
26+
pip-wheel-metadata/
27+
share/python-wheels/
28+
*.egg-info/
29+
.installed.cfg
30+
*.egg
31+
MANIFEST
32+
33+
# PyInstaller
34+
# Usually these files are written by a python script from a template
35+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
36+
*.manifest
37+
*.spec
38+
39+
# Installer logs
40+
pip-log.txt
41+
pip-delete-this-directory.txt
42+
43+
# Unit test / coverage reports
44+
htmlcov/
45+
.tox/
46+
.nox/
47+
.coverage
48+
.coverage.*
49+
.cache
50+
nosetests.xml
51+
coverage.xml
52+
*.cover
53+
*.py,cover
54+
.hypothesis/
55+
.pytest_cache/
56+
cover/
57+
58+
# Translations
59+
*.mo
60+
*.pot
61+
62+
# Django stuff:
63+
*.log
64+
local_settings.py
65+
db.sqlite3
66+
db.sqlite3-journal
67+
68+
# Flask stuff:
69+
instance/
70+
.webassets-cache
71+
72+
# Scrapy stuff:
73+
.scrapy
74+
75+
# Sphinx documentation
76+
docs/_build/
77+
78+
# PyBuilder
79+
target/
80+
81+
# IPython / Jupyter Notebook
82+
.ipynb_checkpoints
83+
*.ipynb_export
84+
85+
# PEP 582; used by e.g. python-pdm
86+
__pypackages__/
87+
88+
# pyenv
89+
.python-version
90+
91+
# pipenv
92+
Pipfile.lock
93+
94+
# poetry
95+
poetry.lock
96+
97+
# pdm
98+
pdm.lock
99+
__pypackages__/
100+
101+
# celery beat schedule file
102+
celerybeat-schedule
103+
celerybeat.pid
104+
105+
# Environments
106+
.env
107+
.venv
108+
env/
109+
venv/
110+
ENV/
111+
env.bak/
112+
venv.bak/
113+
114+
# Spyder project settings
115+
.spyderproject
116+
.spyproject
117+
118+
# Rope project settings
119+
.ropeproject
120+
121+
# mkdocs documentation
122+
/site
123+
124+
# mypy
125+
.mypy_cache/
126+
.dmypy.json
127+
dmypy.json
128+
129+
# pyre type checker
130+
.pyre/
131+
132+
# pytype
133+
.pytype/
134+
135+
# Cython debug symbols
136+
cython_debug/
137+
138+
# VS Code
139+
.vscode/
140+
141+
# PyCharm
142+
.idea/
143+
144+
# macOS
145+
.DS_Store
146+
147+
# Others
148+
*.log
149+
*.tmp

book/.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/.quarto/
22

3-
_book/
3+
_book/
4+
5+
**/lightning_logs/**

book/_quarto.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ project:
22
type: book
33

44
book:
5-
title: "book"
5+
title: "Previsão de Séries temporais com Python: um pequeno guia"
66
author: "Felipe Angelim"
77
date: "10/11/2025"
88
chapters:
@@ -17,18 +17,13 @@ book:
1717
- part: "Part II: Intermediário"
1818
chapters:
1919
- content/pt/part2/exog_variables.qmd
20-
- content/pt/part2/feature_engineering.qmd
2120
- content/pt/part2/ml_models.qmd
22-
- content/pt/part2/probabilistic_forecasting.qmd
23-
- content/pt/part2/probabilistic_metrics.qmd
24-
- part: "Part III: Avançado"
21+
- content/pt/part2/panel_data.qmd
22+
- content/pt/part2/hierarchical_forecasting.qmd
23+
- content/pt/part2/deep_learning.qmd
24+
- part: "Part III: Apêndices"
2525
chapters:
26-
- content/pt/part3/panel_data.qmd
27-
- content/pt/part3/hierarchical_forecasting.qmd
28-
- content/pt/part3/deep_learning.qmd
29-
- part: "Part IV: Apêndices"
30-
chapters:
31-
- content/pt/part4/sktime_custom.qmd
26+
- content/pt/extra/sktime_custom.qmd
3227

3328
bibliography: references.bib
3429

171 KB
Loading

0 commit comments

Comments
 (0)