You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/getting-started.rst
+2-69Lines changed: 2 additions & 69 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,72 +8,5 @@
8
8
Getting started
9
9
================
10
10
11
-
Here are some example templates provided to help you get started with writing your documentation. You can use these templates to create your own documentation.
12
-
13
-
Reuse ``.rst`` files across multiple pages
14
-
------------------------------------------
15
-
16
-
Here is how you can reuse a reusable block of ``.rst`` files across multiple pages:
17
-
18
-
.. include:: snippets/example-table.rst
19
-
20
-
.. warning::
21
-
22
-
Ensure that the ``.rst`` file you are including is not too long. If it is too long, it may be better to split it into multiple files and include them separately.
23
-
24
-
Refer to a specific section in the documentation
25
-
------------------------------------------------
26
-
27
-
You can use the ``ref`` tag to refer to a specific section in the documentation. For example, you can refer to the section below using the ``:ref:`` tag as shown :ref:`here <attach-image>`.
28
-
29
-
.. note::
30
-
31
-
Please check the raw ``.rst`` file of this page to see the exact use of the ``:ref:`` tag.
32
-
33
-
Embed your code snippets in the documentation
34
-
---------------------------------------------
35
-
36
-
Here is how you can write a block of code in the documentation. You can use the ``code-block`` directive to write a block of code in the documentation. For example, you can write a block of code as shown below:
37
-
38
-
.. code-block:: bash
39
-
40
-
# Create a new environment, without build dependencies (pure Python package)
41
-
conda create -n <package_name>-env python=3.13 \
42
-
--file requirements/tests.txt \
43
-
--file requirements/conda.txt
44
-
45
-
# Create a new environment, with build dependencies (non-pure Python package)
46
-
conda create -n <package_name>-env python=3.13 \
47
-
--file requirements/tests.txt \
48
-
--file requirements/conda.txt \
49
-
--file requirements/build.txt
50
-
51
-
# Activate the environment
52
-
conda activate <package_name>_env
53
-
54
-
# Install your package locally
55
-
# `--no-deps` to NOT install packages again from `requirements.pip.txt`
56
-
pip install -e . --no-deps
57
-
58
-
# Run pytest locally
59
-
pytest
60
-
61
-
# ... run example tutorials
62
-
63
-
.. _attach-image:
64
-
65
-
Attach an image to the documentation
66
-
------------------------------------
67
-
68
-
Here is how you attach an image to the documentation. The ``/docs/source/img/scikit-package-logo-text.png`` example image is provided in the template.
69
-
70
-
.. image:: ./img/scikit-package-logo-text.png
71
-
:alt:codecov-in-pr-comment
72
-
:width:400px
73
-
:align:center
74
-
75
-
76
-
Other useful directives
77
-
-----------------------
78
-
79
-
Here is how you can do menu selection :menuselection:`Admin --> Settings` and display labels for buttons like :guilabel:`Privacy level`.
11
+
Welcome to the ``pdfbl.sequential`` documentation! Please see our GitHub page
12
+
`here <https://github.com/PDF-bl/pdfbl.sequential>`_ for more information.
0 commit comments