Skip to content

Commit f3a3696

Browse files
fix: Update button in landing page (#1587)
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
1 parent 9f1cbaa commit f3a3696

4 files changed

Lines changed: 26 additions & 17 deletions

File tree

.github/labels.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,12 @@
100100

101101
- name: remote-session
102102
description: Issues related to remote sessions in PyMechanical
103-
color: 00B3B3
103+
color: 00B3B3
104+
105+
- name: skip-doc
106+
description: Skips the documentation build job in CI
107+
color: e4e669
108+
109+
- name: skip-test
110+
description: Skips the test job in CI
111+
color: e4e669

doc/changelog.d/1587.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update button in landing page

doc/source/index.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Choose the one that fits your workflow:
2626
:padding: 2 2 2 2
2727
:link: user_guide/embedding/overview
2828
:link-type: doc
29-
:class-card: sd-border-warning
30-
:class-title: sd-font-weight-bold sd-text-warning sd-fs-5
29+
:class-card: sd-border-info
30+
:class-title: sd-font-weight-bold sd-text-info sd-fs-5
3131

3232
Run Mechanical **directly in your Python process** with the ``App`` class.
3333
Provides full object-model access, fast startup, and is ideal for Jupyter notebooks
@@ -41,14 +41,14 @@ Choose the one that fits your workflow:
4141
4242
Model.AddStaticStructuralAnalysis()
4343
44-
:bdg-warning:`In-process` :bdg-warning:`Direct API` :bdg-warning:`fast`
44+
:bdg-info:`In-process` :bdg-info:`Direct API` :bdg-info:`fast`
4545

4646
.. grid-item-card:: Remote session mode :fa:`server`
4747
:padding: 2 2 2 2
4848
:link: user_guide/remote_session/overview
4949
:link-type: doc
50-
:class-card: sd-border-warning
51-
:class-title: sd-font-weight-bold sd-text-warning sd-fs-5
50+
:class-card: sd-border-info
51+
:class-title: sd-font-weight-bold sd-text-info sd-fs-5
5252

5353
Launch Mechanical as a **separate server process** and communicate with gRPC.
5454
Provides process isolation, and optional GUI, and is ideal for CI/CD, Docker and automation.
@@ -61,7 +61,7 @@ Choose the one that fits your workflow:
6161
6262
app.run_python_script("Model.AddStaticStructuralAnalysis()")
6363
64-
:bdg-warning:`gRPC` :bdg-warning:`GUI` :bdg-warning:`Remote`
64+
:bdg-info:`gRPC` :bdg-info:`GUI` :bdg-info:`Remote`
6565

6666
If you are not sure which mode to pick, see :doc:`getting_started/choose_your_mode`.
6767

@@ -77,16 +77,16 @@ If you are not sure which mode to pick, see :doc:`getting_started/choose_your_mo
7777

7878
Install PyMechanical, choose your mode, and run your first script.
7979

80-
:bdg-warning-line:`Install` :bdg-warning-line:`Choose mode` :bdg-warning-line:`Quick start`
80+
:bdg-info:`Install` :bdg-info:`Choose mode` :bdg-info:`Quick start`
8181

82-
.. grid-item-card:: User Guide :fa:`window-maximize`
82+
.. grid-item-card:: User guide :fa:`window-maximize`
8383
:padding: 2 2 2 2
8484
:link: user_guide/index
8585
:link-type: doc
8686

8787
Learn how to use embedding mode, remote sessions, scripting, and CLI tools.
8888

89-
:bdg-warning-line:`Embedding` :bdg-warning-line:`Remote` :bdg-warning-line:`Scripting`
89+
:bdg-info:`Embedding` :bdg-info:`Remote` :bdg-info:`Scripting`
9090

9191
.. grid-item-card:: Examples :fa:`scroll`
9292
:padding: 2 2 2 2
@@ -95,7 +95,7 @@ If you are not sure which mode to pick, see :doc:`getting_started/choose_your_mo
9595

9696
Explore examples, which are organized by mode and simulation type.
9797

98-
:bdg-warning-line:`Embedding` :bdg-warning-line:`Remote` :bdg-warning-line:`Advanced`
98+
:bdg-info:`Embedding` :bdg-info:`Remote` :bdg-info:`Advanced`
9999

100100
.. grid-item-card:: API reference :fa:`book-bookmark`
101101
:padding: 2 2 2 2
@@ -104,7 +104,7 @@ If you are not sure which mode to pick, see :doc:`getting_started/choose_your_mo
104104

105105
Understand PyMechanical API endpoints and their capabilities.
106106

107-
:bdg-warning-line:`Classes` :bdg-warning-line:`Methods` :bdg-warning-line:`Error handling`
107+
:bdg-info:`Classes` :bdg-info:`Methods` :bdg-info:`Error handling`
108108

109109

110110
.. grid-item-card:: FAQs :fa:`fa-solid fa-circle-question`
@@ -114,7 +114,7 @@ If you are not sure which mode to pick, see :doc:`getting_started/choose_your_mo
114114

115115
Frequently asked questions and their answers.
116116

117-
:bdg-warning-line:`How` :bdg-warning-line:`Why` :bdg-warning-line:`What`
117+
:bdg-info:`How` :bdg-info:`Why` :bdg-info:`What`
118118

119119
.. grid-item-card:: Known issues and limitations :fa:`fa-solid fa-bug`
120120
:padding: 2 2 2 2
@@ -123,7 +123,7 @@ If you are not sure which mode to pick, see :doc:`getting_started/choose_your_mo
123123

124124
See issues and limitations for both PyMechanical and Mechanical.
125125

126-
:bdg-warning-line:`24R2` :bdg-warning-line:`25R1` :bdg-warning-line:`25R2` :bdg-warning-line:`26R1`
126+
:bdg-info:`24R2` :bdg-info:`25R1` :bdg-info:`25R2` :bdg-info:`26R1`
127127

128128
.. grid-item-card:: Contribute :fa:`people-group`
129129
:padding: 2 2 2 2
@@ -133,7 +133,7 @@ If you are not sure which mode to pick, see :doc:`getting_started/choose_your_mo
133133
Learn how to contribute to the PyMechanical codebase
134134
or documentation.
135135

136-
:bdg-warning-line:`Test` :bdg-warning-line:`Documentation` :bdg-warning-line:`Issues`
136+
:bdg-info:`Test` :bdg-info:`Documentation` :bdg-info:`Issues`
137137

138138

139139
.. toctree::

doc/source/user_guide/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ fundamentals and CLI tools.
99

1010
- **Embedding mode**: Use Mechanical directly in your Python process with the ``App`` class.
1111
- **Remote session mode**: Launch Mechanical as a server and communicate with gRPC.
12-
- **Scripting fundamentals**: Explore Mechanical API concepts, recording, and threading, which
12+
- **Scripting fundamentals (both modes)**: Explore Mechanical API concepts, recording, and threading, which
1313
are all topics applying to both modes.
14-
- **CLI tools**: Discover command-line utilities for launching, discovering, and configuring Mechanical.
14+
- **Command Line Interface (CLI)**: Discover command-line utilities for launching, discovering, and configuring Mechanical.
1515

1616
If you are not sure which mode to use, see :ref:`ref_choose_your_mode`.
1717

0 commit comments

Comments
 (0)