From bda9d711dfcff650bf72eb9c9e5af35aa5debdc7 Mon Sep 17 00:00:00 2001 From: Yaoyao Ding Date: Tue, 5 Aug 2025 15:18:23 -0400 Subject: [PATCH 1/2] add custom.css to remove the uncessary scrollbar --- .vscode/settings.json | 2 +- docs/source/_static/custom.css | 5 +++++ docs/source/conf.py | 5 ++++- docs/source/index.rst | 1 - 4 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 docs/source/_static/custom.css diff --git a/.vscode/settings.json b/.vscode/settings.json index 25a3ac68..6a988ba3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { - "explorer.excludeGitIgnore": true, + "explorer.excludeGitIgnore": false, "python.analysis.diagnosticSeverityOverrides": { "reportInvalidTypeForm": "none" // Tilus rely on variables as type hints } diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.css new file mode 100644 index 00000000..6277c6d4 --- /dev/null +++ b/docs/source/_static/custom.css @@ -0,0 +1,5 @@ +/* Avoid the uncessary scrollbar on the primiary sidebar + See: https://github.com/executablebooks/sphinx-book-theme/issues/732 */ +#rtd-footer-container { + margin: 0px !important; +} \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 19866a28..d8091197 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -66,5 +66,8 @@ "use_repository_button": True, "show_navbar_depth": 1, } -# html_static_path = ['_static'] +html_static_path = ['_static'] +html_css_files = [ + 'custom.css', +] html_permalinks_icon = "ΒΆ" diff --git a/docs/source/index.rst b/docs/source/index.rst index ae793401..44b7675c 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -31,7 +31,6 @@ Additional features include automatic tuning, caching, and a Pythonic interface programming-guides/cache programming-guides/autotuning programming-guides/layout-system/__init__ - programming-guides/low-precision-support .. toctree:: :maxdepth: 1 From a595ab9a0aaea832409c1214cad85e5c1fbfe2fd Mon Sep 17 00:00:00 2001 From: Yaoyao Ding Date: Tue, 5 Aug 2025 15:30:27 -0400 Subject: [PATCH 2/2] use github's runner for format --- .github/workflows/format-and-lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format-and-lint.yaml b/.github/workflows/format-and-lint.yaml index 218a675f..d85d0f4d 100644 --- a/.github/workflows/format-and-lint.yaml +++ b/.github/workflows/format-and-lint.yaml @@ -12,7 +12,7 @@ concurrency: jobs: format-and-lint: if: github.repository == 'NVIDIA/tilus' - runs-on: linux-amd64-cpu16 + runs-on: ubuntu-latest steps: - name: Checkout Repository uses: actions/checkout@v4