Skip to content

Commit 18ff209

Browse files
authored
feat: With curl general (#6)
* doc: Add primary domain * doc: Move global constants and functions to reference file * doc: Fix reference * doc: Document macros and options - Document 'with-curl-easy' and 'with-curl-global' - Add 'specializer' to option setters * Update [email protected] * feat: Add with-curl-global macro - Update tests - Add 'curl-easy-cleanup' to avoid abstraction leak of 'curl-handle'
1 parent 04bf58e commit 18ff209

14 files changed

+1461
-484
lines changed

documentation/source/conf.py

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
'sphinx_copybutton'
3030
]
3131

32+
# Necessary to make things like '.. current-module:: foo' work.
33+
primary_domain = 'dylan'
34+
3235
templates_path = ['_templates']
3336
exclude_patterns = []
3437

documentation/source/curl_global.rst

-45
This file was deleted.

documentation/source/index.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Dylan-curl
22
==========
3-
3+
44
Curl library wrapper for the Dylan language.
55

66
.. toctree::
@@ -9,8 +9,7 @@ Curl library wrapper for the Dylan language.
99

1010
installation
1111
introduction
12-
curl_global
13-
curl_options
12+
reference
1413

1514
Indices and tables
1615
==================

documentation/source/introduction.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Performing the Request
106106
^^^^^^^^^^^^^^^^^^^^^^
107107

108108
In libcurl, the request is executed using `curl_easy_perform`. The
109-
Open Dylan equivalent is the method :meth:`curl-easy-perform`.
109+
Open Dylan equivalent is the method :func:`curl-easy-perform`.
110110

111111
.. code-block:: C
112112
:caption: C Example
@@ -119,7 +119,7 @@ Open Dylan equivalent is the method :meth:`curl-easy-perform`.
119119
printf("Request completed successfully.\n");
120120
}
121121
122-
In Opendylan :function:`curl-perform` raises a
122+
In Opendylan :func:`curl-perform` raises a
123123
:class:`<curl-perform-error>`.
124124

125125
.. code-block:: dylan

0 commit comments

Comments
 (0)