digitalmars.D.learn - Download one documentation page?
- bachmeier (5/5) Nov 28 Is there a way to download one page of the documentation? I'd
- Richard (Rikki) Andrew Cattermole (3/8) Nov 28 Give it: https://github.com/dlang/dlang.org/blob/master/spec/declaration...
- Paul Backus (2/5) Nov 29 https://dlang.org/spec/declaration.verbatim
- jmh530 (18/23) Dec 03 I've done something similar with ChatGPT. I created a custom GPT
Is there a way to download one page of the documentation? I'd like to click to download (to take one page at random) https://dlang.org/spec/declaration.html in text format. I'd like to upload it to an LLM to ask questions about just that page, or maybe several pages that are relevant to my inquiry.
Nov 28
On 29/11/2025 12:55 PM, bachmeier wrote:Is there a way to download one page of the documentation? I'd like to click to download (to take one page at random) https://dlang.org/spec/ declaration.html in text format. I'd like to upload it to an LLM to ask questions about just that page, or maybe several pages that are relevant to my inquiry.Give it: https://github.com/dlang/dlang.org/blob/master/spec/declaration.dd I.e. https://gemini.google.com/share/0351f51a2412
Nov 28
On Friday, 28 November 2025 at 23:55:16 UTC, bachmeier wrote:Is there a way to download one page of the documentation? I'd like to click to download (to take one page at random) https://dlang.org/spec/declaration.html in text format.https://dlang.org/spec/declaration.verbatim
Nov 29
On Friday, 28 November 2025 at 23:55:16 UTC, bachmeier wrote:Is there a way to download one page of the documentation? I'd like to click to download (to take one page at random) https://dlang.org/spec/declaration.html in text format. I'd like to upload it to an LLM to ask questions about just that page, or maybe several pages that are relevant to my inquiry.I've done something similar with ChatGPT. I created a custom GPT and fed in three files: 1) Ali's Programming in D book, 2) the Vibe book, 3) a txt file with all of the spec files pasted in one after another with some separation between them. The reason I combined all the spec files together was because there are limits on the number of files you can load in. I was fairly happy with it, but I wanted to improve the txt file generation and then expand to include the entire Dlang website (and maybe all the code to the DMD code base, or who knows). And then I got caught up with other things and haven't played with it in like two months. Rather than just building my own one-off tool for creating the text file, I was thinking about some of the open issues related to har [1]. What I was doing was basically manually doing what this tool should be able to do anyway. Would probably need to fork the project given that Jonathan Marler has moved on. [1] https://github.com/marler8997/har
Dec 03









"Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> 