From 029905a60ed4091d1f4bf35486381a2db89724aa Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Mon, 24 Nov 2025 10:02:16 +0100 Subject: [PATCH 1/4] fix: quarto remove command with latest version --- src/ansys_sphinx_theme/cheatsheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys_sphinx_theme/cheatsheet.py b/src/ansys_sphinx_theme/cheatsheet.py index e9d600bcc..122920fb8 100644 --- a/src/ansys_sphinx_theme/cheatsheet.py +++ b/src/ansys_sphinx_theme/cheatsheet.py @@ -174,7 +174,7 @@ def build_quarto_cheatsheet(app: Sphinx) -> None: file_path, ) run_quarto_command( - ["remove", "ansys/pyansys-quarto-cheatsheet", "--no-prompt"], + ["remove", "ansys/cheat_sheet", "--no-prompt"], file_path, ) supplementary_files = [ From 4eb6286760d18bd0fa0e7af8efc7c023285096a8 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Mon, 24 Nov 2025 09:15:37 +0000 Subject: [PATCH 2/4] chore: adding changelog file 840.fixed.md [dependabot-skip] --- doc/changelog.d/840.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/840.fixed.md diff --git a/doc/changelog.d/840.fixed.md b/doc/changelog.d/840.fixed.md new file mode 100644 index 000000000..27f2b5fae --- /dev/null +++ b/doc/changelog.d/840.fixed.md @@ -0,0 +1 @@ +Quarto remove command with latest version From b183a6be6ee03dea002d6a282756d8acaa1eafca Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Tue, 25 Nov 2025 13:36:03 +0100 Subject: [PATCH 3/4] test cheatsheet --- doc/source/cheat_sheet.qmd | 127 +++++++++++++++++++++++++++++++++++++ doc/source/conf.py | 7 +- 2 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 doc/source/cheat_sheet.qmd diff --git a/doc/source/cheat_sheet.qmd b/doc/source/cheat_sheet.qmd new file mode 100644 index 000000000..1d3e7a4af --- /dev/null +++ b/doc/source/cheat_sheet.qmd @@ -0,0 +1,127 @@ +--- +title: Your title here +format: cheat_sheet-pdf +params: + version: "Your version here" +footer: Your footer here +footerlinks: + - urls: Your URL here + text: Your text here + - urls: Your URL here + text: Your text here +# Uncomment the following line to not evaluate code cells +# execute: +# eval: false # Set to true to evaluate code cells +jupyter: + jupytext: + text_representation: + extension: .qmd + format_name: quarto + format_version: '1.0' + jupytext_version: 1.16.1 + kernelspec: + display_name: Python 3 (ipykernel) + language: python + name: python3 +--- + +# General section + +Description of the first section goes here. + +```{python} +import os +``` + +# Section with code output + +Description of the second section goes here. + +```{python} +print("Hello, world!") +``` + +# Section with code evaluation but no results included + +This section is evaluated but execution results are not included in the output. +```{python} +#| output: false +print("Hello, world!") +``` + +# Section with code evaluation but no results included + +This section is evaluated but execution results are not included in the output. + +```{python} +#| output: false +print(os.getcwd()) +``` + +# Section with code evaluation and results included + +This section is evaluated and execution results are included in the output. + +```{python} +print(os.getcwd()) +``` + +# Section without code evaluation +```{python} +#| eval: false +print(os.getcwd()) +``` + +If there is no evaluation, the code cell is not executed. +Thus, no execution results are included in the output. + +# Section without code echo + +This section is not evaluated, and the code cell is not shown in +the rendered document. However, the output is included in the +rendered document. + +```{python} +#| echo: false +print("Hello, world!") +``` + +# Section without code echo and output +This section is not evaluated, and the code cell is not shown in +the rendered document. The output is also not included in the +rendered document. + +```{python} +#| echo: false +#| output: false +print("Hello, world!") +``` + +# Use of variables + +## Styles of text + +**Bold text** + +*Italic text* + +***Bold and italic text*** + +## Lists and images +1. Numbered list +2. Numbered list +3. Numbered list + +- Bulleted list +- Bulleted list +- Bulleted list + +## Subsection + +- Add subsections as needed. +- Add more subsections as needed. +- Add more subsections as needed. + +- [link](https://www.google.com) +- [link](https://www.google.com) +- [link](https://www.google.com) \ No newline at end of file diff --git a/doc/source/conf.py b/doc/source/conf.py index 691f191e2..586962a81 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -82,9 +82,14 @@ "Examples": ["examples/"], "Contributing": ["contribute/"], }, + "cheatsheet": { + "file": "cheat_sheet.qmd", + "pages": ["index"], + "title": "PyAnsys test cheatsheet", + "version": __version__, + }, } - html_js_files = ["https://cdn.plot.ly/plotly-3.0.1.min.js"] From f2bf3e34ce1f399aa60974e41268ae49460b0b50 Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Tue, 25 Nov 2025 14:05:50 +0100 Subject: [PATCH 4/4] test cheatsheet --- doc/source/cheat_sheet.qmd | 127 ------------------------------------- doc/source/conf.py | 6 -- 2 files changed, 133 deletions(-) delete mode 100644 doc/source/cheat_sheet.qmd diff --git a/doc/source/cheat_sheet.qmd b/doc/source/cheat_sheet.qmd deleted file mode 100644 index 1d3e7a4af..000000000 --- a/doc/source/cheat_sheet.qmd +++ /dev/null @@ -1,127 +0,0 @@ ---- -title: Your title here -format: cheat_sheet-pdf -params: - version: "Your version here" -footer: Your footer here -footerlinks: - - urls: Your URL here - text: Your text here - - urls: Your URL here - text: Your text here -# Uncomment the following line to not evaluate code cells -# execute: -# eval: false # Set to true to evaluate code cells -jupyter: - jupytext: - text_representation: - extension: .qmd - format_name: quarto - format_version: '1.0' - jupytext_version: 1.16.1 - kernelspec: - display_name: Python 3 (ipykernel) - language: python - name: python3 ---- - -# General section - -Description of the first section goes here. - -```{python} -import os -``` - -# Section with code output - -Description of the second section goes here. - -```{python} -print("Hello, world!") -``` - -# Section with code evaluation but no results included - -This section is evaluated but execution results are not included in the output. -```{python} -#| output: false -print("Hello, world!") -``` - -# Section with code evaluation but no results included - -This section is evaluated but execution results are not included in the output. - -```{python} -#| output: false -print(os.getcwd()) -``` - -# Section with code evaluation and results included - -This section is evaluated and execution results are included in the output. - -```{python} -print(os.getcwd()) -``` - -# Section without code evaluation -```{python} -#| eval: false -print(os.getcwd()) -``` - -If there is no evaluation, the code cell is not executed. -Thus, no execution results are included in the output. - -# Section without code echo - -This section is not evaluated, and the code cell is not shown in -the rendered document. However, the output is included in the -rendered document. - -```{python} -#| echo: false -print("Hello, world!") -``` - -# Section without code echo and output -This section is not evaluated, and the code cell is not shown in -the rendered document. The output is also not included in the -rendered document. - -```{python} -#| echo: false -#| output: false -print("Hello, world!") -``` - -# Use of variables - -## Styles of text - -**Bold text** - -*Italic text* - -***Bold and italic text*** - -## Lists and images -1. Numbered list -2. Numbered list -3. Numbered list - -- Bulleted list -- Bulleted list -- Bulleted list - -## Subsection - -- Add subsections as needed. -- Add more subsections as needed. -- Add more subsections as needed. - -- [link](https://www.google.com) -- [link](https://www.google.com) -- [link](https://www.google.com) \ No newline at end of file diff --git a/doc/source/conf.py b/doc/source/conf.py index 586962a81..97f555798 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -82,12 +82,6 @@ "Examples": ["examples/"], "Contributing": ["contribute/"], }, - "cheatsheet": { - "file": "cheat_sheet.qmd", - "pages": ["index"], - "title": "PyAnsys test cheatsheet", - "version": __version__, - }, } html_js_files = ["https://cdn.plot.ly/plotly-3.0.1.min.js"]