Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

docs.rst 2.5 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
  1. .. index:: ! docs
  2. .. include:: module_core_purpose.rst_
  3. ****
  4. docs
  5. ****
  6. |docs_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt docs** [ |-Q| ] [ |-S| ] [ |SYN_OPT-V| ] *module-name* [*-option*]
  11. |No-spaces|
  12. Description
  13. -----------
  14. **docs** tells GMT to display the HTML version of a module's documentation using the default browser.
  15. Besides the modules names, some special targets
  16. *gmt*, *api*, *colors*, *cookbook*, *data*, *gallery*, *home*, *settings*, and *tutorial*
  17. are also accepted. You can also give *forum* (takes you to the GMT Discourse Forum) and
  18. *website* (or just *site*; takes you to the GMT main website).
  19. Required Arguments
  20. ------------------
  21. *module-name*
  22. One of the core or supplemental modules,
  23. or one of *gmt*, *api*, *colors*, *cookbook*, *data*, *gallery* *home*, *settings*, and *tutorial*,
  24. plus external targets *forum* and *website*.
  25. Optional Arguments
  26. ------------------
  27. .. _-Q:
  28. **-Q**
  29. This option means we are doing a "dry-run" and simply want the final URL to be
  30. printed to standard output. No file open command will take place. This is useful
  31. if you are working remotely on a server and do not wish to launch a GUI browser.
  32. If used, **-Q** must be the first option to **docs**.
  33. .. _-S:
  34. **-S**
  35. Normally, **docs** will open documentation files from the local computer if the document can
  36. be found there; otherwise it will use the GMT server. The **-S** option forces **docs** to
  37. read the file from the web server first.
  38. .. _-V:
  39. .. |Add_-V| unicode:: 0x20 .. just an invisible code
  40. .. include:: explain_-V.rst_
  41. .. include:: explain_help_nopar.rst_
  42. Optional Module Arguments
  43. -------------------------
  44. *-option*
  45. Where *-option* is the one-letter option of the module in question (e.g, **-R**).
  46. We then display the *module* documentation positioned at that specific option. Note
  47. that this operation is only valid for an actual URL, hence we implicitly set
  48. **-S** when an option anchor is specified.
  49. Examples
  50. --------
  51. To see the documentation of *grdimage*::
  52. gmt docs grdimage
  53. To see the link to the documentation of *grdimage*::
  54. gmt docs -Q grdimage
  55. To see the link to the documentation of *grdimage* on the GMT server::
  56. gmt docs -Q -S grdimage
  57. To see the documentation of the **-B** option in *coast*::
  58. gmt docs coast -B
  59. To examine the list of GMT default settings, try::
  60. gmt docs settings
  61. To see the Gallery::
  62. gmt docs gallery
  63. See Also
  64. --------
  65. :doc:`begin`,
  66. :doc:`clear`,
  67. :doc:`end`,
  68. :doc:`figure`,
  69. :doc:`inset`,
  70. :doc:`subplot`,
  71. :doc:`gmt`
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...