mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-03-30 23:03:03 -07:00
DOCS: new URL https://docs.netalertx.com/
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
15
.github/workflows/mkdocs.yml
vendored
15
.github/workflows/mkdocs.yml
vendored
@@ -3,7 +3,10 @@ name: Deploy MkDocs
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Change if your default branch is different
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@@ -19,7 +22,15 @@ jobs:
|
||||
|
||||
- name: Install MkDocs
|
||||
run: |
|
||||
pip install mkdocs mkdocs-material && pip install mkdocs-github-admonitions-plugin
|
||||
pip install mkdocs mkdocs-material
|
||||
pip install mkdocs-github-admonitions-plugin
|
||||
|
||||
- name: Build MkDocs
|
||||
run: mkdocs build
|
||||
|
||||
- name: Add CNAME
|
||||
run: |
|
||||
echo "docs.netalertx.com" > site/CNAME
|
||||
|
||||
- name: Deploy MkDocs
|
||||
run: mkdocs gh-deploy --force
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
site_name: NetAlertX Documentation
|
||||
site_url: https://docs.netalertx.com/
|
||||
site_url: https://docs.netalertx.com
|
||||
repo_url: https://github.com/jokob-sk/NetAlertX/
|
||||
edit_uri: blob/main/docs/
|
||||
docs_dir: docs
|
||||
|
||||
@@ -6,7 +6,6 @@ Tests settings page load, settings groups, and configuration
|
||||
|
||||
import time
|
||||
import os
|
||||
import requests
|
||||
from selenium.webdriver.common.by import By
|
||||
from selenium.webdriver.support.ui import WebDriverWait
|
||||
from selenium.webdriver.support import expected_conditions as EC
|
||||
@@ -15,7 +14,7 @@ import sys
|
||||
# Add test directory to path
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
|
||||
from test_helpers import BASE_URL, API_TOKEN # noqa: E402 [flake8 lint suppression]
|
||||
from test_helpers import BASE_URL # noqa: E402 [flake8 lint suppression]
|
||||
|
||||
|
||||
def test_settings_page_loads(driver):
|
||||
|
||||
Reference in New Issue
Block a user