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
`term`. If you wish to hide a heading from any index prefix it with the empty
123
+
`term`. If you wish to hide a heading from any index, prefix it with the empty
125
124
comment `Z<>`.
126
125
127
126
When providing a code example result or output, use this style:
@@ -157,8 +156,8 @@ See [Writing and Testing Examples](writing-docs/EXAMPLES.md)
157
156
158
157
## Testing method completeness
159
158
160
-
To get a list of methods that are found via introspection but not
161
-
found in any Pod 6 file under `doc/Type/`, use `util/list-missing-methods.p6`. It takes a
159
+
To get a list of methods that are found via introspection but not found in any
160
+
Pod 6 file under `doc/Type/`, use `util/list-missing-methods.p6`. It takes a
162
161
directory or filepath as argument and limits the listing to the given file or
163
162
any Pod 6-files found. All methods listed in `util/ignored-methods.txt` are
164
163
ignored.
@@ -170,7 +169,7 @@ the page to activate debug mode. The state of debug mode will be remembered by
170
169
`window.sessionStorage` and will not survive a browser restart or opening the
171
170
docs in a new tab.
172
171
173
-
q### Invisible index anchors
172
+
### Invisible index anchors
174
173
175
174
You can create index entries and invisible anchors with `X<|thing,category>`.
176
175
To make them visible activate debug mode.
@@ -210,7 +209,7 @@ If you would like to contribute documentation or other bug fixes, please use
210
209
Assuming that you have already forked and cloned the
211
210
[perl6/doc](https://github.com/perl6/doc) repository, one of the first things
212
211
you probably want to do is to build the documentation on your local
213
-
computer. To do this you will need:
212
+
computer. To do this you will need:
214
213
215
214
- Perl 6 (e.g., the Rakudo Perl 6 implementation)
216
215
- zef (the installer for third party Perl 6 modules)
@@ -293,7 +292,7 @@ To actually build the documentation all you now need to do is run:
293
292
This takes a while, but be patient!
294
293
295
294
After the build has completed, you can start the web application which will
296
-
render the HTML documention on a web server on your build host:
295
+
render the HTML documentation on a web server on your build host:
297
296
298
297
$ make run
299
298
@@ -302,12 +301,14 @@ documentation.
302
301
303
302
#### Using Docker to build and view the documentation
304
303
305
-
You can skip all the above and just build and view documentation with these simple commands (if you have docker already installed):
304
+
You can skip all the above and just build and view documentation with these
305
+
simple commands (if you have docker already installed):
306
306
307
307
$ docker build -t perl6-doc .
308
308
$ docker run -p 3000:3000 -it -v `pwd`:/perl6/doc perl6-doc
309
309
310
-
This will build the documentation for you by default and it will take some time, but for subsequent use you may want to skip build part if nothing has been changed:
310
+
This will build the documentation for you by default and it will take some time,
311
+
but for subsequent use you may want to skip build part if nothing has been changed:
311
312
312
313
$ docker run -p 3000:3000 -it -v `pwd`:/perl6/doc perl6-doc ./app-start
313
314
@@ -325,14 +326,14 @@ To run the development web server for viewing documentation (on port 3000):
325
326
326
327
$ make docker-run
327
328
328
-
Note that while this requires less typing, some assumptions will be made for you regarding the name
329
-
of the resulting image, the port the content is available over, etc. If you want, you can
330
-
override these default values.
329
+
Note that while this requires less typing, some assumptions will be made for
330
+
you regarding the name of the resulting image, the port the content is available
331
+
over, etc. If you want, you can override these default values.
331
332
332
-
For instance, if you want the local documentation to be available over port 5001 of the host,
333
-
pass the following to make when running:
333
+
For instance, if you want the local documentation to be available over port 5001
334
+
of the host, pass the following to make when running:
334
335
335
336
$ make docker-run DOCKER_HOST_PORT=5001
336
337
337
-
Now the documentation will be available on the host at http://localhost:5001. Please see the
338
-
Makefile for a list of available options.
338
+
Now the documentation will be available on the host at http://localhost:5001.
339
+
Please see the Makefile for a list of available options.
0 commit comments