Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "Build"

on:
Expand All @@ -11,7 +12,7 @@ jobs:
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.11"
python-version: "3.12"
- name: "Install python dependencies"
run: |
pip install build setuptools wheel
Expand All @@ -25,3 +26,4 @@ jobs:
path: |
dist/
if-no-files-found: "error"
...
93 changes: 89 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,107 @@
---
name: "Docs Test"

on:
workflow_call:

defaults:
run:
working-directory: "pulp-docs"

jobs:
run-test:
build-docs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
with:
path: "pulp-docs"
fetch-depth: 0

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulpcore"
path: "pulpcore"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp_ansible"
path: "pulp_ansible"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp_container"
path: "pulp_container"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp_deb"
path: "pulp_deb"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp_gem"
path: "pulp_gem"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp_maven"
path: "pulp_maven"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp_npm"
path: "pulp_npm"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp_ostree"
path: "pulp_ostree"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp_python"
path: "pulp_python"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp_rpm"
path: "pulp_rpm"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp-cli"
path: "pulp-cli"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp-ui"
path: "pulp-ui"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp-openapi-generator"
path: "pulp-openapi-generator"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp-oci-images"
path: "pulp-oci-images"

- uses: "actions/checkout@v4"
with:
repository: "pulp/pulp-operator"
path: "pulp-operator"

- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.11"
python-version: "3.12"

- name: "Install Test Dependencies"
run: |
pip install -r doc_requirements.txt

- name: Build docs
- name: "Build docs"
run: |
make docs
mkdocs build
...
6 changes: 0 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@ concurrency:
cancel-in-progress: true

jobs:
build:
uses: "./.github/workflows/build.yml"

docs:
needs:
- "build"
uses: "./.github/workflows/docs.yml"

tests:
needs: "build"
uses: "./.github/workflows/tests.yml"

ready-to-ship:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.11"
python-version: "3.12"

- name: "Install Test Dependencies"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.11"
python-version: "3.12"

- name: "List requirements"
run: |
Expand Down
27 changes: 27 additions & 0 deletions custom/rest_api.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{% extends "base.html" %}

{% block styles %}
{{ super() }}
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
<style>
article.md-content__inner {margin: 0; padding: 0;}
article.md-content__inner::before {height: 0;}
div.md-main__inner {margin: 0;}
div.md-grid {max-width: none;}
</style>
{% endblock %}

{% block site_nav %}
{% endblock %}

{% block content %}
<redoc spec-url="../api.json"></redoc>
{% endblock %}

{% block scripts %}
{{ super() }}
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"></script>
{% endblock %}

{% block footer %}
{% endblock %}
15 changes: 0 additions & 15 deletions docs/rest_api.md

This file was deleted.

75 changes: 0 additions & 75 deletions docs/sections/help/more/governance/code-of-conduct.md

This file was deleted.

Loading