Skip to content

Commit 4386a2b

Browse files
feat: readapt landing page (#953)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 801a0f3 commit 4386a2b

File tree

2 files changed

+39
-44
lines changed

2 files changed

+39
-44
lines changed

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ def get_wheelhouse_assets_dictionary():
255255
# change the preamble of latex with customized title page
256256
# variables are the title of pdf, watermark
257257
latex_elements = {"preamble": latex.generate_preamble(html_title)}
258+
sd_fontawesome_latex = True
258259

259260
linkcheck_exclude_documents = ["index", "getting_started/local/index", "assets"]
260261
linkcheck_ignore = [r"https://github.com/ansys/pyansys-geometry-binaries/.*"]

doc/source/index.rst

Lines changed: 38 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -3,63 +3,57 @@ PyAnsys Geometry documentation |version|
33

44
PyAnsys Geometry is a Python client library for the Ansys Geometry service.
55

6-
.. grid:: 1 2 2 2
7-
:gutter: 4
8-
:padding: 2 2 0 0
9-
:class-container: sd-text-center
6+
.. grid:: 2
107

11-
.. grid-item-card:: :material-regular:`directions_run` Getting started
128

13-
Learn how to run the Windows Docker container, install the
14-
PyAnsys Geometry image, and launch and connect to the Geometry
15-
service.
9+
.. grid-item-card:: Getting started :fa:`person-running`
10+
:padding: 2 2 2 2
11+
:link: getting_started/index
12+
:link-type: doc
1613

17-
.. grid-item-card:: :material-regular:`book` User guide
14+
Learn how to run the Windows Docker container, install the
15+
PyAnsys Geometry image, and launch and connect to the Geometry
16+
service.
1817

19-
Understand key concepts and approaches for primitives,
20-
sketches, and model designs.
18+
.. grid-item-card:: User guide :fa:`book-open-reader`
19+
:padding: 2 2 2 2
20+
:link: user_guide/index
21+
:link-type: doc
2122

23+
Understand key concepts and approaches for primitives,
24+
sketches, and model designs.
2225

23-
.. jinja:: main_toctree
24-
25-
.. grid:: 1 2 2 2
26-
:gutter: 4
27-
:padding: 2 2 0 0
28-
:class-container: sd-text-center
29-
30-
{% if build_api %}
31-
.. grid-item-card:: :material-regular:`code` API reference
32-
33-
34-
Understand PyAnsys Geometry API endpoints, their capabilities,
35-
and how to interact with them programmatically.
26+
.. grid-item-card:: API reference :fa:`book-bookmark`
27+
:padding: 2 2 2 2
28+
:link: api/index
29+
:link-type: doc
3630

37-
{% endif %}
38-
39-
{% if build_examples %}
40-
.. grid-item-card:: :material-regular:`terminal` Examples
41-
:class-card: intro-card
42-
43-
Explore examples that show how to use PyAnsys Geometry to
44-
perform many different types of operations.
45-
46-
{% endif %}
31+
Understand PyAnsys Geometry API endpoints, their capabilities,
32+
and how to interact with them programmatically.
4733

48-
.. grid:: 1 2 2 2
49-
:gutter: 4
50-
:padding: 2 2 0 0
51-
:class-container: sd-text-center
34+
.. grid-item-card:: Examples :fa:`scroll`
35+
:padding: 2 2 2 2
36+
:link: examples
37+
:link-type: doc
5238

53-
.. grid-item-card:: :material-regular:`diversity_3` Contribute
39+
Explore examples that show how to use PyAnsys Geometry to
40+
perform many different types of operations.
5441

55-
Learn how to contribute to the PyAnsys Geometry codebase
56-
or documentation.
42+
.. grid-item-card:: Contribute :fa:`people-group`
43+
:padding: 2 2 2 2
44+
:link: contributing
45+
:link-type: doc
5746

58-
.. grid-item-card:: :material-regular:`download` Assets
47+
Learn how to contribute to the PyAnsys Geometry codebase
48+
or documentation.
5949

60-
Download different assets related to PyAnsys Geometry,
61-
such as documentation, package wheelhouse, and related files.
50+
.. grid-item-card:: Download :fa:`download`
51+
:padding: 2 2 2 2
52+
:link: assets
53+
:link-type: doc
6254

55+
Download different assets related to PyAnsys Geometry,
56+
such as documentation, package wheelhouse, and related files.
6357

6458
.. jinja:: main_toctree
6559

0 commit comments

Comments
 (0)