this repo has no description

make "hardcode" consistent

authored by

Christine Rose and committed by
panglesd
dd5cbd35 3ee58d98

+4 -4
+4 -4
doc/driver.mld
··· 125 125 {1 [odoc] Documentation} 126 126 127 127 In this section [odoc] is used to generate the documentation of [odoc] and some of its dependent packages. We can make a few simplifying assumptions here: 128 - {ol {- Since we're working with one leaf package, we can assume that there can be no module name clashes in the dependencies. As such, we can afford to put all of our [.odoc] files into one directory and then hard-code the include path to be this directory. When using [odoc] in a context where there may be module name clashes, it requires more careful partitioning of output directories. 128 + {ol {- Since we're working with one leaf package, we can assume that there can be no module name clashes in the dependencies. As such, we can afford to put all of our [.odoc] files into one directory and then hardcode the include path to be this directory. When using [odoc] in a context where there may be module name clashes, it requires more careful partitioning of output directories. 129 129 }{- We'll do all of the compiling before any linking. 130 130 }} 131 131 ··· 143 143 source path that has to be in the source tree. 144 144 145 145 Linking a file with [odoc] requires the input file and a list of include paths. As 146 - for compile, we will hard-code the include path. 146 + for compile, we will hardcode the include path. 147 147 148 148 Generating the HTML requires the input [odocl] file and an output path. We will 149 - hard-code the output path to be [html/]. In the case of implementations, a 149 + hardcode the output path to be [html/]. In the case of implementations, a 150 150 source file (passed via the [--source] argument) is required. 151 151 152 152 To get the number of uses of each identifier, we can use the [count-occurrences] ··· 313 313 libraries, but [odoc] itself is also separated into libraries. These two 314 314 sets of libraries will be documented in different sections, so we'll keep them 315 315 in separate lists. Moreover, [odoc] libraries will include the source code via 316 - a hard-coded path. 316 + a hardcoded path. 317 317 318 318 Additionally, we'll construct a list containing the extra documentation pages. Finally let's create a list mapping the section to its parent, which matches 319 319 the hierarchy declared above.