Skip to content

Commit 201e4aa

Browse files
Revathyvenugopal162pyansys-ci-botRobPasMue
authored
docs: update the landing page (#561)
Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: Roberto Pastor Muela <[email protected]>
1 parent 15f60c9 commit 201e4aa

File tree

6 files changed

+26
-10
lines changed

6 files changed

+26
-10
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs: update the landing page

doc/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@
133133
rst_epilog += f.read()
134134

135135

136-
linkcheck_ignore = ["https://sphinxdocs.ansys.com/version/*"]
136+
linkcheck_ignore = [
137+
r"https://sphinxdocs.ansys.com/version/*",
138+
]
137139
if switcher_version != "dev":
138140
linkcheck_ignore.append(
139141
f"https://github.com/ansys/ansys-sphinx-theme/releases/tag/v{__version__}"

doc/source/examples.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Sphinx extensions
88

99
These examples show how the Ansys Sphinx Theme renders different Sphinx extensions.
1010

11-
.. grid:: 2
12-
:gutter: 2 2 3 4
13-
:padding: 2 2 3 4
11+
.. grid:: 1 2 3 3
12+
:gutter: 1 2 3 3
13+
:padding: 1 2 3 3
1414

1515
.. grid-item-card:: :octicon:`note` Sphinx design
1616
:link: sphinx-design

doc/source/getting-started.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
2+
.. _ref-getting-started:
3+
14
Getting started
25
###############
36

47

5-
.. grid:: 2
8+
.. grid:: 1 2 3 3
9+
:gutter: 1 2 3 3
10+
:padding: 1 2 3 3
611

712
.. grid-item-card:: How to install :fa:`person-running`
813
:link: getting-started/installation

doc/source/index.rst

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,38 @@ are included in the theme to make documentation more appealing and user-friendly
1010

1111
.. jinja:: main_toctree
1212

13-
.. grid:: 2
14-
:gutter: 2 2 3 4
13+
.. grid:: 1 2 3 3
14+
:gutter: 1 2 3 3
15+
:padding: 1 2 3 3
1516

16-
.. grid-item-card:: Getting started :fa:`person-running`
17+
.. grid-item-card:: :material-regular:`power_settings_new;1.25em` Getting started
1718
:link: getting-started
1819
:link-type: doc
1920

2021
Learn how to install the Ansys Sphinx Theme.
2122

22-
.. grid-item-card:: User guide :fa:`book-open-reader`
23+
.. grid-item-card:: :material-regular:`description;1.25em` User guide
2324
:link: user-guide
2425
:link-type: doc
2526

2627
Learn how to use the capabilities and features of this theme.
2728

2829
{% if build_examples %}
2930

30-
.. grid-item-card:: Examples :fa:`laptop-code`
31+
.. grid-item-card:: :material-regular:`file_copy;1.25em` Examples
3132
:link: examples
3233
:link-type: doc
3334

3435
Explore examples that show how to integrate third-party extensions with this theme.
3536

3637
{% endif %}
3738

39+
.. grid-item-card:: :material-regular:`update;1.25em` Changelog
40+
:link: changelog
41+
:link-type: doc
42+
43+
View the changelog for this project.
44+
3845
.. jinja:: main_toctree
3946

4047
.. toctree::

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/sphinx-design.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ details.sd-dropdown summary.sd-card-header + div.sd-summary-content {
221221
border: none;
222222
background-color: var(--ast-color-sphinx-design-background);
223223
font-family: var(--ast-sphinx-design-font-family);
224+
line-height: 24px;
224225
}
225226

226227
.bd-content .sd-card {

0 commit comments

Comments
 (0)