Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

Documentation for PROGMEM incorrect in IDE installation

Open nickgammon opened this issue 13 years ago • 5 comments

As reported here: http://forum.arduino.cc/index.php?topic=178534

Inside the IDE (1.0.5 Mac OS/X) if you go to: Help, Reference, Data Types, Array. See Also, then PROGMEM.

You get:

File not found

 Firefox can't find the file at /Applications/Arduino_1.0.5.app/Contents/Resources/Java/reference/PROGMEM.html.

Check the file name for capitalization or other typing errors.
Check to see if the file was moved, renamed or deleted.

nickgammon avatar Jul 20 '13 22:07 nickgammon

See also #1452

shfitz avatar Nov 24 '13 11:11 shfitz

@nickgammon the problem is that the included documentation is updated by an old script that needs some maintenance. On the contrary the online documentation that is periodically updated. Sorry about that.

agdl avatar Nov 10 '14 09:11 agdl

Hello Arturo,

Monday, November 10, 2014, 10:02:23 AM, you wrote:

@nickgammonthe problem is that the built-in documentation is updated by an old script that needs some maintenance.

Where is repo for the the built-in documentation? The Arduino github seems to include it as a binary blob so it must be hosted in a different repo.

(I asked this on the Arduino forum some time ago, but the moderators did not seem to understand the question or know what a repository is).

What does the script do?

On the contrary the online documentation is periodically updated. Sorry about that.

Same question, where is the repo for that (and why are they different)?

Including known-outdated documentation with the Arduino binaries is odd.

Best regards, Nantonos mailto:[email protected]

svgeesus avatar Nov 10 '14 13:11 svgeesus

The Arduino github seems to include it as a binary blob so it must be hosted in a different repo.

Not necessarily. In the absence of any comments from someone who actually knows, perhaps they are hosted on someone's hard disk, they zip it up and put into the Arduino repository.

Same question, where is the repo for that (and why are they different)?

In the case of my own documentation for a program which is nothing to do with the Arduino, I keep the documentation in an SQL database. A script is used to general help files, and also used for online querying (the PHP code reads the appropriate database record).

The database (in itself designed before Git became popular) does not particularly lend itself to being put into a repository. For one thing, it isn't "flat" like source files are.

Maybe that is what is happening here.

nickgammon avatar Nov 14 '14 02:11 nickgammon

Relevant might be this: http://stackoverflow.com/questions/846659/how-can-i-put-a-database-under-git-version-control

A quick skim would seem to indicate that putting a database "under" Git is not trivial.

nickgammon avatar Nov 14 '14 02:11 nickgammon