diff --git a/PABCNetHelp/CreateHelp.bat b/PABCNetHelp/CreateHelp.bat index 354713883..dddff8dec 100644 --- a/PABCNetHelp/CreateHelp.bat +++ b/PABCNetHelp/CreateHelp.bat @@ -1,5 +1,6 @@ cd DocGenForStandardUnits !GenDocPABCSystem.exe +!GenDocGraphWPF.exe !GenDocWPFObjects.exe cd .. "C:\Program Files (x86)\HTML Help Workshop\hhc.exe" PascalABCNET.hhp diff --git a/PABCNetHelp/DocGenForStandardUnits/!GenDocGraphWPF.exe b/PABCNetHelp/DocGenForStandardUnits/!GenDocGraphWPF.exe new file mode 100644 index 000000000..6ea54103a Binary files /dev/null and b/PABCNetHelp/DocGenForStandardUnits/!GenDocGraphWPF.exe differ diff --git a/PABCNetHelp/DocGenForStandardUnits/!GenDocGraphWPF.pas b/PABCNetHelp/DocGenForStandardUnits/!GenDocGraphWPF.pas new file mode 100644 index 000000000..468a8f933 --- /dev/null +++ b/PABCNetHelp/DocGenForStandardUnits/!GenDocGraphWPF.pas @@ -0,0 +1,13 @@ +uses GenDocUnit; + +begin + fname1 := '..\..\bin\Lib\GraphWPF.pas'; + fname := '..\..\bin\Lib\GraphWPFBase.pas'; + RootOutputDirectory := 'PABCUnits\GraphWPF\'; + Step1; + Step2; + Step3; + Step3_1; + Step4; + FinalStep; +end. \ No newline at end of file diff --git a/PABCNetHelp/DocGenForStandardUnits/!GenDocPABCSystem.exe b/PABCNetHelp/DocGenForStandardUnits/!GenDocPABCSystem.exe new file mode 100644 index 000000000..98bdc4df0 Binary files /dev/null and b/PABCNetHelp/DocGenForStandardUnits/!GenDocPABCSystem.exe differ diff --git a/PABCNetHelp/DocGenForStandardUnits/!GenDocPABCSystem.pas b/PABCNetHelp/DocGenForStandardUnits/!GenDocPABCSystem.pas index b8026e41a..7e3d8a358 100644 --- a/PABCNetHelp/DocGenForStandardUnits/!GenDocPABCSystem.pas +++ b/PABCNetHelp/DocGenForStandardUnits/!GenDocPABCSystem.pas @@ -1,8 +1,8 @@ uses GenDocUnit; begin - fname := 'D:\PABC_Git\bin\Lib\PABCSystem.pas'; - fname1 := 'D:\PABC_Git\bin\Lib\PABCExtensions.pas'; + fname := '..\..\bin\Lib\PABCSystem.pas'; + fname1 := '..\..\bin\Lib\PABCExtensions.pas'; RootOutputDirectory := 'LangGuide\PABCSystemUnit\'; Step1; Step2; diff --git a/PABCNetHelp/DocGenForStandardUnits/!GenDocWPFObjects.exe b/PABCNetHelp/DocGenForStandardUnits/!GenDocWPFObjects.exe new file mode 100644 index 000000000..6ccfbb8f3 Binary files /dev/null and b/PABCNetHelp/DocGenForStandardUnits/!GenDocWPFObjects.exe differ diff --git a/PABCNetHelp/DocGenForStandardUnits/!GenDocWPFObjects.pas b/PABCNetHelp/DocGenForStandardUnits/!GenDocWPFObjects.pas index f93411283..86752e50b 100644 --- a/PABCNetHelp/DocGenForStandardUnits/!GenDocWPFObjects.pas +++ b/PABCNetHelp/DocGenForStandardUnits/!GenDocWPFObjects.pas @@ -1,7 +1,7 @@ uses GenDocUnit; begin - fname := 'D:\PABC_Git\bin\Lib\WPFObjects.pas'; + fname := '..\..\bin\Lib\WPFObjects.pas'; RootOutputDirectory := 'PABCUnits\WPFObjects\'; Step1; Step2; diff --git a/PABCNetHelp/DocGenForStandardUnits/GenDocUnit.pas b/PABCNetHelp/DocGenForStandardUnits/GenDocUnit.pas index df74c9647..9f1626ce5 100644 --- a/PABCNetHelp/DocGenForStandardUnits/GenDocUnit.pas +++ b/PABCNetHelp/DocGenForStandardUnits/GenDocUnit.pas @@ -16,7 +16,7 @@ begin if fname1<>'' then ll := ll + ReadLines(fname1); - foreach var s in ReadLines(fname) do + foreach var s in ll do begin if s.StartsWith('//{{{doc:') then begin @@ -327,7 +327,7 @@ begin var pf := gr.Where(g->(g.Key='procedure') or (g.Key='function')); table += CreateSectionInClassDef('Методы кла��а '+classname,pf,Keywords); - if classbase<>'' then + while (classbase<>'') and dictClasses.ContainsKey(classbase) do begin gr := dictClasses[classbase].fds.GroupBy(fd->fd.fun.ToWords[0].Trim); // Добавить �вой�тва предка @@ -336,6 +336,7 @@ begin // Добавить методы предка pf := gr.Where(g->(g.Key='procedure') or (g.Key='function')); table += CreateSectionInClassDef('Методы предка '+classbase,pf,nil); + classbase := dictClasses[classbase].basename; end; end else diff --git a/PABCNetHelp/DocGenForStandardUnits/hrefs.html b/PABCNetHelp/DocGenForStandardUnits/hrefs.html deleted file mode 100644 index 5cf3cf69a..000000000 --- a/PABCNetHelp/DocGenForStandardUnits/hrefs.html +++ /dev/null @@ -1,38 +0,0 @@ - -
function Read<T>(Self: file of T): T;
+
|