Lazarus

Miscellaneous => Documentation (Maintaining -) => Topic started by: dsiders on August 13, 2022, 05:20:35 am

Title: Lazarus documentation preview has been updated
Post by: dsiders on August 13, 2022, 05:20:35 am
An updated preview for Lazarus documentation has been posted to https://dsiders.gitlab.io/lazdocsnext/.

HTML help content for the LCL and LazUtils packages has been updated to version 2.3.0-c303bd45d2 (2022-08-12).
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on November 18, 2022, 01:16:15 am
An updated preview for Lazarus documentation has been posted to https://dsiders.gitlab.io/lazdocsnext/.

HTML help content for the LCL and LazUtils packages has been updated to version 2.3.0-df5754c7f4 (2022-11-17).
Title: Re: Lazarus documentation preview has been updated
Post by: cappe on November 18, 2022, 09:36:51 am
sometimes i watch it
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on January 18, 2023, 08:18:02 pm
An updated preview for Lazarus documentation has been posted to https://dsiders.gitlab.io/lazdocsnext/.

HTML help content for the LCL and LazUtils packages has been updated to version 2.3.0-4c53c90895 (2023-01-18). It includes the following updates:

Code: Text  [Select][+][-]
  1. 112a42d2d3 Docs: LCL/comctrls. Adds content for Heigh, Left, Top, and Width topics in TTabSheet.
  2. 21761a63c4 Docs: LazUtils/masks. Removes invalid See Also link.
  3. 809f3a702f Docs: LazUtils/masks. Reduces cuteness factor.
  4. 4dea7ea47a Docs: LazUtils/masks. Updates content in the TMasklist.Matches and TMasklist.MatchesWindowsMask topics.
  5. f172b78cdc Docs: LCL/comctrls. Adds missing content in the TCustomListView.SortWithParams topic.
  6. 884efa6315 Docs: LazUtils/masks. Removes TWindowsMaskList.MatchesWindowsMask topic after changes in 7b815990.
  7. dc18060660 Docs: LCL/menus. Updates TPopupMenu topic for changes in 45e80c9d. Issue #40092.
  8. cc2704a497 Docs: LazUtils/masks. Adds or updates topics for changes in 408f319004.
  9. d35defa41c Docs: LCL/dialogs. Updates topics for changes in 70688d5a1f..3a944f112d.
  10.  
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on February 04, 2023, 04:54:02 am
An updated preview for Lazarus documentation has been posted to https://dsiders.gitlab.io/lazdocsnext/.

HTML help content for the LCL and LazUtils packages has been updated. It includes the initial documentation preview for the DateTimeCtrls package.
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on February 27, 2023, 05:36:39 am
An updated preview for Lazarus documentation has been posted to https://dsiders.gitlab.io/lazdocsnext/.

HTML help content for the LCL and LazUtils packages has been updated to version 2.3.0-1b9d3d4cbf (2023-02-26), and includes the following:

Code: Bash  [Select][+][-]
  1. 1b9d3d4cbf Docs: LCL/extctrls. Updates content in TCustomFlowPanel.CalculatePreferredSize for changes in 6cc8ef74.
  2. e00d028b0e Docs: LazUtils/lazutf8. Removes deprecated ReplaceSubstring topic after changes in ce9b92c9.
  3. b61d4e63a1 Docs: LCL/comctrls. Updates content in TCustomUpDown topics.
  4. f79a5d6718 Docs: LCL/comctrls. Updates content in topics including:
  5. 4143748675 Docs: LCL/comctrls. Updates topics for changes in d42c3fe9.
  6. 17b66f88c4 Docs: DateTimeCtrls. Adds text for See Also links in other units or packages. Fixes awkward wording in sentences.
  7. 658d14c8a7 Docs: LCL/various. Corrects spelling for 'check box' when not referring to a property name.
  8. aa4b71e15e Docs: DateTimeCtrls. Corrects spelling for 'check box' when not referring to a property name.
  9. c58ada4acf Docs: DateTimeCtrls/dbdatetimepicker. Adds a topic for TDBDateTimePicker.Options.
  10. 33ffadbc89 Docs: LCL/controls,ldocktree. Updates topics for changes in 3d86c02c.
  11. 251585aef1 Docs: LCL/controls. Fixes invalid See Also links in topics.


Title: Re: Lazarus documentation preview has been updated
Post by: dbannon on February 27, 2023, 06:20:49 am
Thanks Don, thats really valuable work.

It would be heaps more useful if it could be turned into chm help format and we could point our "main" Lazarus IDE to a local copy. Or, perhaps, harder, somewhere where in the IDE that remembers your URL. 

Either way, having people looking at it directly, from the Lazarus IDE would be a good thing for for users and perhaps for the quality control of your project.

Davo
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on February 27, 2023, 06:39:37 am
Thanks Don, thats really valuable work.

It would be heaps more useful if it could be turned into chm help format and we could point our "main" Lazarus IDE to a local copy. Or, perhaps, harder, somewhere where in the IDE that remembers your URL. 

Either way, having people looking at it directly, from the Lazarus IDE would be a good thing for for users and perhaps for the quality control of your project.

Davo

Hello Davo.

Thanks for the kind words. I wanted to make the content available so people could use it or offer suggestions. I do not put downloads on the site because its not an official documentation source. Its just a way to see updates that cannot be included in the fixes branch because they are deferred to the next major release.

If you're using 2.3.X, you can build both documentation formats locally. See:

docs/html/README.txt
docs/html/build_chm.sh
docs/html/build_chm.bat
docs/html/build_html.sh
docs/html/build_html.bat

Hope that helps.

---
Don
Title: Re: Lazarus documentation preview has been updated
Post by: af0815 on February 27, 2023, 10:57:18 am
Is it possible to have a link in the footer (or header) to come back to the mainpage (https://dsiders.gitlab.io/lazdocsnext/ here) to change the doc area (eg. LCL to RTL) ?
Title: Re: Lazarus documentation preview has been updated
Post by: dbannon on February 27, 2023, 12:18:56 pm
If you're using 2.3.X, you can build both documentation formats locally. See:

docs/html/README.txt
docs/html/build_chm.sh
docs/html/build_chm.bat
docs/html/build_html.sh
docs/html/build_html.bat

Ah, I will have a read !
Thanks.
Davo
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on February 27, 2023, 08:38:33 pm
Is it possible to have a link in the footer (or header) to come back to the mainpage (https://dsiders.gitlab.io/lazdocsnext/ here) to change the doc area (eg. LCL to RTL) ?

Short answer: No.

Longer answer:

The HTML files on the site (except for the landing page) are the standard output from FPDoc. Just like those on Source Forge host at https://lazarus-ccr.sourceforge.io/docs/. Unfortunately, the current build process for HTML does not use a site map with any links outside of a given package.

A link could be added in the footer area of each page pretty easily.

Would that be helpful?
Title: Re: Lazarus documentation preview has been updated
Post by: marcov on February 27, 2023, 09:38:52 pm
If you're using 2.3.X, you can build both documentation formats locally. See:

Any question about CHM generation can be asked here.  It can be useful to read the readmechm.txt in the FPC documentation git repo too
Title: Re: Lazarus documentation preview has been updated
Post by: marcov on February 27, 2023, 10:05:13 pm
The HTML files on the site (except for the landing page) are the standard output from FPDoc. Just like those on Source Forge host at https://lazarus-ccr.sourceforge.io/docs/. Unfortunately, the current build process for HTML does not use a site map with any links outside of a given package.

A link could be added in the footer area of each page pretty easily.

Would that be helpful?

While html is not my core knowledge, afaik fpdoc for plain html uses as convention (given the propre .xct) that all packages are in ../<packagename>/<relative url>.  Maybe a small webservicy (.js?) like thingy there to mutate the link to redirect to a different remote target (e.g. the FPC website docs) could be a way to have some interlinking ?
Title: Re: Lazarus documentation preview has been updated
Post by: marcov on February 27, 2023, 10:08:54 pm
I tried to regenerate FPC/fixes + lazarus trunks docs at

https://www.stack.nl/~marcov/doc-chmbeta.zip

They might be a bit rough, it has been a while since I last tried, but a quick check seems to indicate that inter chm links work.
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on February 27, 2023, 10:12:08 pm
The HTML files on the site (except for the landing page) are the standard output from FPDoc. Just like those on Source Forge host at https://lazarus-ccr.sourceforge.io/docs/. Unfortunately, the current build process for HTML does not use a site map with any links outside of a given package.

A link could be added in the footer area of each page pretty easily.

Would that be helpful?

While html is not my core knowledge, afaik fpdoc for plain html uses as convention (given the propre .xct) that all packages are in ../<packagename>/<relative url>.  Maybe a small webservicy (.js?) like thingy there to mutate the link to redirect to a different remote target (e.g. the FPC website docs) could be a way to have some interlinking ?

My answer was not worded very well.

FPDoc does generate links to other packages . It does not generate anything related to a home page or landing page though. It has an option for an index page (like a TOC if you will) but it is not used in the current build process (for HTML).

Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on February 27, 2023, 10:38:50 pm
Is it possible to have a link in the footer (or header) to come back to the mainpage (https://dsiders.gitlab.io/lazdocsnext/ here) to change the doc area (eg. LCL to RTL) ?

Andreas:

I regenerated the HTML for LCL and LazUtils using your suggestion. At the moment, only those packages have the link in the footer area. The others (DateTimeCtrls and LazControls) will have to wait until this weekend.

I do not (cannot) generate the output for RTL and FCL -  they are a mirror of the existing output. So they will not receive the Link to the landing page.

Hope this helps.

---
Don

Title: Re: Lazarus documentation preview has been updated
Post by: af0815 on February 28, 2023, 06:26:47 am
THX, in the new generated HTML it works perefect.

Now you can go back to the root and change back to the landing page. It is easier, if you search anything in the docs and get lost. If this happens you can restart for a new try.

Perfect, and thank you for the fast insert of this feature.
   
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on February 28, 2023, 07:59:58 am
THX, in the new generated HTML it works perefect.

Now you can go back to the root and change back to the landing page. It is easier, if you search anything in the docs and get lost. If this happens you can restart for a new try.

Perfect, and thank you for the fast insert of this feature.

You're welcome. Please feel free to offer feedback or submit bug reports on the gitlab issue tracker. Patches for the content are always welcome too.
Title: Re: Lazarus documentation preview has been updated
Post by: af0815 on February 28, 2023, 08:43:23 am
There are more 'interesting features' in the documentation, like not working samples. You have to copy some code from the documentation tree on gitlab to get the sample working. Diskussion here https://forum.lazarus.freepascal.org/index.php/topic,62017.msg468472.html#msg468472

But i got a comment from PascalDragon
Quote
The samples contained in the documentation are not necessarily meant to be completely usable or even compileable. They simply illustrate the principles of what is documented.
So its by design, but i say, better no example instead of a useless defect exsample, because this sample are more confusing for the user. The real interesting parts not in the sample and the shown code is more or less useless (for me). I got the sample working and found the interesting parts is in the missing code. It is a political decision, to create not working samples, ok i can live with this. But, so i am not willing to spend my time for this.
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on February 28, 2023, 10:35:49 am
There are more 'interesting features' in the documentation, like not working samples. You have to copy some code from the documentation tree on gitlab to get the sample working. Diskussion here https://forum.lazarus.freepascal.org/index.php/topic,62017.msg468472.html#msg468472

But i got a comment from PascalDragon
Quote
The samples contained in the documentation are not necessarily meant to be completely usable or even compileable. They simply illustrate the principles of what is documented.
So its by design, but i say, better no example instead of a useless defect exsample, because this sample are more confusing for the user. The real interesting parts not in the sample and the shown code is more or less useless (for me). I got the sample working and found the interesting parts is in the missing code. It is a political decision, to create not working samples, ok i can live with this. But, so i am not willing to spend my time for this.

That specific discussion is about FPC docs. Sorry I can't help you with that. But maintaining sample code (when it changes) is always a chore.
Title: Re: Lazarus documentation preview has been updated
Post by: dbannon on February 28, 2023, 11:22:46 am
I tried to regenerate FPC/fixes + lazarus trunks docs at

https://www.stack.nl/~marcov/doc-chmbeta.zip

They might be a bit rough, it has been a while since I last tried, but a quick check seems to indicate that inter chm links work.

Yep, seems to work for me, thanks marcov.

Davo
Title: Re: Lazarus documentation preview has been updated
Post by: af0815 on February 28, 2023, 11:57:18 am
That specific discussion is about FPC docs. Sorry I can't help you with that. But maintaining sample code (when it changes) is always a chore.
This was not the problem, the sample itself was definitly designed not to run if you copy it out of the documentation. This my point, such a sample should be avoided, because it make more chaos. (There will be a link to a running sample the better choice) 

I have said to my friend -> RTFM -> and he answered, this is shit, because the sample is not running. I have spend a lot of time to find the answer and i think now, my friend is right.
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on February 28, 2023, 05:57:54 pm
That specific discussion is about FPC docs. Sorry I can't help you with that. But maintaining sample code (when it changes) is always a chore.
This was not the problem, the sample itself was definitly designed not to run if you copy it out of the documentation. This my point, such a sample should be avoided, because it make more chaos. (There will be a link to a running sample the better choice) 

I have said to my friend -> RTFM -> and he answered, this is shit, because the sample is not running. I have spend a lot of time to find the answer and i think now, my friend is right.

Well this soured quickly. I see your point. I agree with your point. Hammering me about it will not get it resolved. I don't maintain FPC docs. Sorry.
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on March 05, 2023, 07:46:49 am
Another update has been posted to the documentation preview at https://dsiders.gitlab.io/lazdocsnext/. It updates the content for all of the Lazarus packages to version 2.3.0-57c8af94ae (2023-03-04). In addition, there are two new packages included in the release: RTTIControls and FreeType. Their initial release has skeletons for all of the topics in both packages. They do not, however, have complete coverage. This situation will improve over time.

RTL and FCL documentation are a mirror of the content at https://www.freepascal.org/docs-html/current/.

Please feel free to offer suggestions or comments about the content in the update. Bug reports can be submitted to the Lazarus issue tracker (https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues) or the FPC Documentation issue tracker (https://gitlab.com/freepascal.org/fpc/documentation/-/issues).
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on March 28, 2023, 12:19:39 am
An update has been posted to the documentation preview at https://dsiders.gitlab.io/lazdocsnext/. It updates the content for each of the Lazarus packages to version 2.3.0-f479581489 (2023-03-27), and includes the following:

Code: Text  [Select][+][-]
  1. 96a18b331f Docs: LazControls/treefilteredit. Updates TTreeFilterBranch.Move topic for changes in de07d13b.
  2. 455d0e29d1 Docs: RttiControls/rttictrls. Fixes invalid links to inherited topics.
  3. e00f5fc24e LazUtils, docs: TXmlWriter, document xwfAllowNullCharsInAttributeValue
  4. 0aca3728a6 LazUtils, docs: TXmlWriter, document changes in xwfSpecialCharsInAttributeValue
  5. 050ce1d3ed Docs: LCL/shellctrls. Adds topic for TCustomShellTreeView.ExpandCollapseMode added in efd6c16934.
  6. c8bf7b0a6a Docs: LCL/grids. Fixes missing word.
  7. a7647ebcc8 Docs: LCL/graphics. Fixes XML tagging issue.
  8. 90fb0f9e0c Docs: LCL/comctrls. Updates content and See Also links for topics, including:
  9. 332acd4b8f Docs: RttiControls/rttictrls. Removes a work-in-progress marker.
  10. 10f276e266 Docs: RttiControls/rttictrls. Adds links to inherited topics including those in external packages.
  11. 42fd1bf230 Docs: DateTimeCtrls/dbdatetimepicker. Updates content in topics including:
  12. f0ae6049c6 Docs: LCL/shellctrls. Fixes invalid See Also links.
  13. 1248f728ee Docs: LCL/shellctrls. Adds version information for changes in 499f0150.
  14. 433ce4fb28 Docs: LCL/shellctrls. Deletes commented content in TCustomShellListView.Resize which was removed in 06701d05a7.
  15. 499f015011 Docs: LCL/shellctrls. Adds and updates topics for changes in 6a85abf6.
  16. 0178542dc1 Docs: LCL/stdctrls. Adds content to replace the inherited description.
  17. 9095837756 Docs: LCL/grids. Updates topics including:
  18. 6795a6dae5 Docs: LCL/graphics. Updates content for the TCanvas.TextExtent topic.
  19. 2498b3596a Docs: LCL/grids. Fixes wording in TCustomStringGrid.Clean topic.
  20. 9208f17734 Docs: LCL/groupededit. Adds or updates content for TCustomAbstractGroupedEdit topics. Minor corrections to grammar and spelling.
  21. 1bdd39f428 Docs: LCL/stdctrls. Clarifies / corrects topic content, including:
  22. b693b70363 Docs: LazControls/treefilteredit. Updates content in topics, including:
  23. 310465e8bd Docs: Lazcontrols/treefilteredit. Adds content to TTreeFilterBranch.Move for changes in c8419bca. Issue #40135.

RTL and FCL documentation are a mirror of the content at https://www.freepascal.org/docs-html/current/.

Please feel free to offer suggestions or comments about the content in the update. Bug reports can be submitted to the Lazarus issue tracker (https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues) or the FPC Documentation issue tracker (https://gitlab.com/freepascal.org/fpc/documentation/-/issues).
Title: Re: Lazarus documentation preview has been updated
Post by: dsiders on March 22, 2024, 05:14:52 am
An update has been posted to the documentation preview at https://dsiders.gitlab.io/lazdocsnext/. It updates the content for LCL and LazUtils packages to Version 3.99-1d79f9e4df (2024-03-21).

RTL and FCL documentation are a mirror of the content at https://www.freepascal.org/docs-html/current/.

Bug reports can be submitted to the Lazarus issue tracker (https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues) or the FPC Documentation issue tracker (https://gitlab.com/freepascal.org/fpc/documentation/-/issues).
Title: Re: Lazarus documentation preview has been updated
Post by: Handoko on March 22, 2024, 07:06:51 pm
Nice and thank you.
TinyPortal © 2005-2018