Skip to content

Commit f2fb2d4

Browse files
authored
Merge pull request #26 from LibreSign/fix/warnings
fix: warnings
2 parents c5349fc + c9e9541 commit f2fb2d4

File tree

10 files changed

+46
-54
lines changed

10 files changed

+46
-54
lines changed

docs/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
.PHONY: main user admin dev all
2323

2424
main:
25-
sphinx-build -b html main ../_build
25+
sphinx-build main ../_build
2626

2727
user:
28-
sphinx-build -b html user_manual user_manual ../_build
28+
sphinx-build user_manual ../_build
2929

3030
admin:
31-
sphinx-build -b html admin_manual admin_manual ../_build
31+
sphinx-build admin_manual ../_build
3232

3333
dev:
34-
sphinx-build -b html developer_manual developer_manual ../_build
34+
sphinx-build developer_manual ../_build
3535

3636
all: main user admin dev

docs/admin_manual/introduction.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
Introduction
2-
==========
2+
============
33

44
What is Libresign?
5-
-------------------
5+
------------------
66

77
Libresign is a software package that provides a set of tools for working with digital signatures. It is designed to be easy to use and flexible, allowing you to integrate it into your own applications or use it as a standalone tool.
88

99
Videos and blogs
10-
------------------
10+
----------------
1111

1212
Visit our `blog <https://libresign.coop/posts/>`__
1313

1414
Target audience
15-
----------------
15+
---------------
1616

17-
- Public sector
18-
- Education
19-
- Private companies
17+
- Public sector
18+
- Education
19+
- Private companies

docs/developer_manual/api.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
API
22
===
33

4-
.. autosummary::
5-
:toctree: generated
6-
7-
.. redoc::
8-
:spec-url: https://libresign.github.io/api/openapi.yaml
9-
:embed:
10-
114
.. raw:: html
125

136
<link rel="stylesheet" href="swagger-ui.css" />

docs/developer_manual/examples_on_insomnia.rst

Whitespace-only changes.

docs/developer_manual/guide-api.rst

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
Guide API
2-
================
2+
=========
33

44
Prerequisites
5-
-----------------
5+
-------------
66

7-
- All requests require a <code> Content-Type </code> of application/json.
8-
- The API is located at `here <https://nextcloud.local/index.php/apps/libresign/api/v1.0/>`__
9-
- All request parameters are required, unless otherwise specified
7+
- All requests require a <code> Content-Type </code> of application/json.
8+
- The API is located at `here <https://nextcloud.local/index.php/apps/libresign/api/v1.0/>`__
9+
- All request parameters are required, unless otherwise specified
1010

1111

1212
Examples on Insomnia
13-
----------------------
13+
--------------------
1414

1515
You can download `here <https://libresign.github.io/Insomnia_2021-11-24.json/>`__ an example of request to API.
1616

1717

1818
Headers
19-
-----------------
19+
-------
2020

2121
`Read <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization/>`__
2222

@@ -46,15 +46,15 @@ Example:
4646
4747
4848
Endpoints
49-
----------------
49+
---------
5050

5151
.. _Single flow:
5252

5353
Single flow
54-
--------------
54+
-----------
5555

5656
Request signature
57-
^^^^^^^^^^^^^^^^^^^^^^^^^
57+
^^^^^^^^^^^^^^^^^
5858
POST /request-signature
5959

6060
.. code-block::
@@ -83,7 +83,7 @@ You will receive the fileId or UUID, store this data to create visible elements.
8383

8484

8585
Validate
86-
^^^^^^^^^^^^^^^^^^^^^^^^^
86+
^^^^^^^^
8787

8888
Get data of a specific file, you can use file_id or uuid on path, both data you will receive after request to POST /request-signature
8989

@@ -96,7 +96,7 @@ The association between user and file will result on a signRequestId. You will n
9696
--header 'Authorization: Basic YWRtaW46YWRtaW4='
9797
9898
List files
99-
^^^^^^^^^^^^^^^^^^^^^^^^^
99+
^^^^^^^^^^
100100
List all LibreSign files
101101

102102
.. code-block::
@@ -106,10 +106,10 @@ List all LibreSign files
106106
--header 'Authorization: Basic YWRtaW46YWRtaW4=' \
107107
108108
Visible elements
109-
^^^^^^^^^^^^^^^^^^^^^^^^^
109+
^^^^^^^^^^^^^^^^
110110

111111
Create
112-
+++++++++++++++++
112+
++++++
113113

114114
POST /file/{uuid}/elements
115115

@@ -132,7 +132,7 @@ POST /file/{uuid}/elements
132132
}'
133133
134134
Update
135-
+++++++++++++++++
135+
++++++
136136

137137
PATCH /file/{uuid}/elements/{elementId}
138138

@@ -157,13 +157,13 @@ The UUID you will receive when you will do a request to POST /request-signature
157157
}'
158158
159159
Delete
160-
+++++++++++++++++
160+
++++++
161161

162162
DELETE /file/{uuid}/elements/{elementId}
163163

164164

165165
Define sign password
166-
^^^^^^^^^^^^^^^^^^^^^^^^^
166+
^^^^^^^^^^^^^^^^^^^^
167167

168168
If the system is enabled to sign using password, the user will need to create a password to sign the file.
169169

@@ -178,7 +178,7 @@ If the system is enabled to sign using password, the user will need to create a
178178
}'
179179
180180
Changing status
181-
^^^^^^^^^^^^^^^^^^^^^^^^^
181+
^^^^^^^^^^^^^^^
182182

183183
You will need change the status of a file from draft to able to sign. When you change the status, all users will receive an email with URL to create account if the user don't exists or authenticate and sign the file.
184184

@@ -199,7 +199,7 @@ You will need change the status of a file from draft to able to sign. When you c
199199
}'
200200
201201
Define user signature
202-
^^^^^^^^^^^^^^^^^^^^^^^^^
202+
^^^^^^^^^^^^^^^^^^^^^
203203

204204
This is necessary for all user to store the own signature or initial.
205205

@@ -227,15 +227,15 @@ This is necessary for all user to store the own signature or initial.
227227
}'
228228
229229
Sign method
230-
^^^^^^^^^^^^^^^^^^^^^^^^^
230+
^^^^^^^^^^^
231231

232232
You can change the sign method between password, email, sms, telegram or signal.
233233

234234
To sign using SMS you will need install the app twofactor_gateway and configure the gateway to SMS.
235235

236236
Example:
237237

238-
.. code-block:: docker-compose
238+
.. code-block:: bash
239239
240240
docker-compose exec --user www-data nextcloud php occ config:app:set libresign identify_method --value=["nextcloud"]
241241
@@ -244,16 +244,16 @@ Example:
244244
docker-compose exec --user www-data nextcloud php occ config:app:set libresign identify_method --value=["sms"]
245245
246246
SMS
247-
+++++++++++++
247+
+++
248248

249249
Configuring the SMS gateway.
250250

251-
.. code-block:: docker-compose
251+
.. code-block:: bash
252252
253253
docker-compose exec --user www-data nextcloud php occ twofactorauth:gateway:configure sms
254254
255255
Define phone number
256-
+++++++++++++++++++++
256+
+++++++++++++++++++
257257

258258
To sign using SMS the user will need define the phone number.
259259

@@ -268,7 +268,7 @@ To sign using SMS the user will need define the phone number.
268268
}'
269269
270270
Request code
271-
+++++++++++++++++++++
271+
++++++++++++
272272

273273
If the sign method is a code, the authenticated user will need request a code to sign the file.
274274

@@ -279,7 +279,7 @@ If the sign method is a code, the authenticated user will need request a code to
279279
--header 'Content-Type: application/json' \
280280
281281
Sign using code
282-
+++++++++++++++++++++
282+
+++++++++++++++
283283

284284
To sign you only will need send the code that you received by email or SMS.
285285

docs/developer_manual/headers.rst

Whitespace-only changes.

docs/developer_manual/prerequisites.rst

Whitespace-only changes.

docs/user_manual/faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FAQ(Frequently Asked Questions)
2-
=================
2+
===============================
33

44
Questions
5-
-------------
5+
---------
66

77
1. Why LibreSign?
88

docs/user_manual/introduction.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
Introduction
2-
==========
2+
============
33

44
What is Libresign?
5-
-------------------
5+
------------------
66

77
Libresign is a software package that provides a set of tools for working with digital signatures. It is designed to be easy to use and flexible, allowing you to integrate it into your own applications or use it as a standalone tool.
88

99
Target audience
10-
----------------
10+
---------------
1111

12-
- Public sector
13-
- Education
14-
- Private companies
15-
12+
- Public sector
13+
- Education
14+
- Private companies

docs/user_manual/suport.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Suport LibreSign
2-
=======
2+
================
33

44
If you have questions, find errors or need help using LibreSign, please contact the LibreCode team.
55

0 commit comments

Comments
 (0)