diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..26679db --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,30 @@ +name: Docs + +on: + push: + branches: + - main + tags: + - v* + paths-ignore: + - LICENSE + - README.md + +permissions: + contents: write + +jobs: + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + - run: pip install yardang + - run: yardang build + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + publish_branch: gh-pages + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: docs/html + force_orphan: true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a8ae8ed --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +docs/html diff --git a/LICENSE b/LICENSE index 261eeb9..4a84349 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2024 the airflow-laminar authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..bbb5952 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,29 @@ +[build-system] +requires = ["hatchling"] +build-backend="hatchling.build" + +[project] +name = "airflow-laminar" +authors = [{name = "the airflow-laminar authors", email = "3105306+timkpaine@users.noreply.github.com"}] +description = "Python Project Templates" +readme = "README.md" +license = { text = "Apache-2.0" } +version = "0.1.0" +requires-python = ">=3.9" +keywords = [] +classifiers = [] +dependencies = [] + +[project.urls] +Repository = "https://github.com/airflow-laminar" +Homepage = "https://airflow-laminar.github.io/" + +[project.optional-dependencies] +develop = [] + +[tool.yardang] +title = "Laminar" +root = "profile/README.md" +cname = "airflow-laminar.github.io" +pages = [] +use-autoapi = false