Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 522787e

Browse files
authored
Merge pull request #2042 from wilzbach/doc-rt
Build rt documentation on dlang.org merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2 parents 4992bfa + 383b639 commit 522787e

File tree

4 files changed

+112
-4
lines changed

4 files changed

+112
-4
lines changed

mak/DOCS

Lines changed: 96 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,99 @@ DOCS=\
4646
$(DOCDIR)\core_sync_exception.html \
4747
$(DOCDIR)\core_sync_mutex.html \
4848
$(DOCDIR)\core_sync_rwmutex.html \
49-
$(DOCDIR)\core_sync_semaphore.html
49+
$(DOCDIR)\core_sync_semaphore.html \
50+
\
51+
$(DOCDIR)\rt_aaA.html \
52+
$(DOCDIR)\rt_aApply.html \
53+
$(DOCDIR)\rt_aApplyR.html \
54+
$(DOCDIR)\rt_adi.html \
55+
$(DOCDIR)\rt_alloca.html \
56+
$(DOCDIR)\rt_arrayassign.html \
57+
$(DOCDIR)\rt_arraycast.html \
58+
$(DOCDIR)\rt_arraycat.html \
59+
\
60+
$(DOCDIR)\rt_backtrace_dwarf.html \
61+
$(DOCDIR)\rt_backtrace_elf.html \
62+
\
63+
$(DOCDIR)\rt_cast_.html \
64+
$(DOCDIR)\rt_cmath2.html \
65+
$(DOCDIR)\rt_config.html \
66+
$(DOCDIR)\rt_cover.html \
67+
$(DOCDIR)\rt_critical_.html \
68+
$(DOCDIR)\rt_deh.html \
69+
$(DOCDIR)\rt_deh_win32.html \
70+
$(DOCDIR)\rt_deh_win64_posix.html \
71+
$(DOCDIR)\rt_dmain2.html \
72+
$(DOCDIR)\rt_dwarfeh.html \
73+
$(DOCDIR)\rt_ehalloc.html \
74+
$(DOCDIR)\rt_invariant.html \
75+
$(DOCDIR)\rt_lifetime.html \
76+
$(DOCDIR)\rt_llmath.html \
77+
$(DOCDIR)\rt_memory.html \
78+
$(DOCDIR)\rt_memset.html \
79+
$(DOCDIR)\rt_minfo.html \
80+
$(DOCDIR)\rt_monitor_.html \
81+
$(DOCDIR)\rt_obj.html \
82+
$(DOCDIR)\rt_profilegc.html \
83+
$(DOCDIR)\rt_qsort.html \
84+
$(DOCDIR)\rt_sections_android.html \
85+
$(DOCDIR)\rt_sections.html \
86+
$(DOCDIR)\rt_sections_elf_shared.html \
87+
$(DOCDIR)\rt_sections_osx_x86_64.html \
88+
$(DOCDIR)\rt_sections_osx_x86.html \
89+
$(DOCDIR)\rt_sections_solaris.html \
90+
$(DOCDIR)\rt_sections_win32.html \
91+
$(DOCDIR)\rt_sections_win64.html \
92+
$(DOCDIR)\rt_tlsgc.html \
93+
$(DOCDIR)\rt_trace.html \
94+
$(DOCDIR)\rt_tracegc.html \
95+
\
96+
$(DOCDIR)\rt_typeinfo_ti_Acdouble.html \
97+
$(DOCDIR)\rt_typeinfo_ti_Acfloat.html \
98+
$(DOCDIR)\rt_typeinfo_ti_Acreal.html \
99+
$(DOCDIR)\rt_typeinfo_ti_Adouble.html \
100+
$(DOCDIR)\rt_typeinfo_ti_Afloat.html \
101+
$(DOCDIR)\rt_typeinfo_ti_Ag.html \
102+
$(DOCDIR)\rt_typeinfo_ti_Aint.html \
103+
$(DOCDIR)\rt_typeinfo_ti_Along.html \
104+
$(DOCDIR)\rt_typeinfo_ti_Areal.html \
105+
$(DOCDIR)\rt_typeinfo_ti_Ashort.html \
106+
$(DOCDIR)\rt_typeinfo_ti_byte.html \
107+
$(DOCDIR)\rt_typeinfo_ti_C.html \
108+
$(DOCDIR)\rt_typeinfo_ti_cdouble.html \
109+
$(DOCDIR)\rt_typeinfo_ti_cent.html \
110+
$(DOCDIR)\rt_typeinfo_ti_cfloat.html \
111+
$(DOCDIR)\rt_typeinfo_ti_char.html \
112+
$(DOCDIR)\rt_typeinfo_ti_creal.html \
113+
$(DOCDIR)\rt_typeinfo_ti_dchar.html \
114+
$(DOCDIR)\rt_typeinfo_ti_delegate.html \
115+
$(DOCDIR)\rt_typeinfo_ti_double.html \
116+
$(DOCDIR)\rt_typeinfo_ti_float.html \
117+
$(DOCDIR)\rt_typeinfo_ti_idouble.html \
118+
$(DOCDIR)\rt_typeinfo_ti_ifloat.html \
119+
$(DOCDIR)\rt_typeinfo_ti_int.html \
120+
$(DOCDIR)\rt_typeinfo_ti_ireal.html \
121+
$(DOCDIR)\rt_typeinfo_ti_long.html \
122+
$(DOCDIR)\rt_typeinfo_ti_n.html \
123+
$(DOCDIR)\rt_typeinfo_ti_ptr.html \
124+
$(DOCDIR)\rt_typeinfo_ti_real.html \
125+
$(DOCDIR)\rt_typeinfo_ti_short.html \
126+
$(DOCDIR)\rt_typeinfo_ti_ubyte.html \
127+
$(DOCDIR)\rt_typeinfo_ti_ucent.html \
128+
$(DOCDIR)\rt_typeinfo_ti_uint.html \
129+
$(DOCDIR)\rt_typeinfo_ti_ulong.html \
130+
$(DOCDIR)\rt_typeinfo_ti_ushort.html \
131+
$(DOCDIR)\rt_typeinfo_ti_void.html \
132+
$(DOCDIR)\rt_typeinfo_ti_wchar.html \
133+
\
134+
$(DOCDIR)\rt_unwind.html \
135+
\
136+
$(DOCDIR)\rt_util_array.html \
137+
$(DOCDIR)\rt_util_container_array.html \
138+
$(DOCDIR)\rt_util_container_common.html \
139+
$(DOCDIR)\rt_util_container_hashtab.html \
140+
$(DOCDIR)\rt_util_container_treap.html \
141+
$(DOCDIR)\rt_util_hash.html \
142+
$(DOCDIR)\rt_util_random.html \
143+
$(DOCDIR)\rt_util_typeinfo.html \
144+
$(DOCDIR)\rt_util_utf.html \

posix.mak

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,20 @@ $(DOCDIR)/core_stdcpp_%.html : src/core/stdcpp/%.d $(DMD)
161161
$(DOCDIR)/core_sync_%.html : src/core/sync/%.d $(DMD)
162162
$(DMD) $(DDOCFLAGS) -Df$@ project.ddoc $(DOCFMT) $<
163163

164-
changelog.html: changelog.dd $(DMD)
165-
$(DMD) -Df$@ $<
164+
$(DOCDIR)/rt_%.html : src/rt/%.d $(DMD)
165+
$(DMD) $(DDOCFLAGS) -Df$@ project.ddoc $(DOCFMT) $<
166+
167+
$(DOCDIR)/rt_backtrace_%.html : src/rt/backtrace/%.d $(DMD)
168+
$(DMD) $(DDOCFLAGS) -Df$@ project.ddoc $(DOCFMT) $<
169+
170+
$(DOCDIR)/rt_typeinfo_%.html : src/rt/typeinfo/%.d $(DMD)
171+
$(DMD) $(DDOCFLAGS) -Df$@ project.ddoc $(DOCFMT) $<
172+
173+
$(DOCDIR)/rt_util_container_%.html : src/rt/util/container/%.d $(DMD)
174+
$(DMD) $(DDOCFLAGS) -Df$@ project.ddoc $(DOCFMT) $<
175+
176+
$(DOCDIR)/rt_util_%.html : src/rt/util/%.d $(DMD)
177+
$(DMD) $(DDOCFLAGS) -Df$@ project.ddoc $(DOCFMT) $<
166178

167179
######################## Header .di file generation ##############################
168180

src/rt/cover.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ extern (C) void dmd_coverSetMerge( bool flag )
135135
* filename = The name of the coverage file.
136136
* valid = ???
137137
* data = ???
138+
* minPercent = minimal coverage of the module
138139
*/
139140
extern (C) void _d_cover_register2(string filename, size_t[] valid, uint[] data, ubyte minPercent)
140141
{

src/rt/minfo.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ struct ModuleGroup
544544
* behavior.
545545
*
546546
* Params:
547-
* edges - The module edges as found in the `importedModules` member of
547+
* edges = The module edges as found in the `importedModules` member of
548548
* each ModuleInfo. Generated in sortCtors.
549549
* Returns:
550550
* true if no cycle is found, false if one was.

0 commit comments

Comments
 (0)