mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Before this change, the Dockerfile tooltip script marked all occurences of keywords, as defined by the lexer, as Dockerfile instructions in a `dockerfile` code block. This meant some tokens parsed from heredocs would be included. The matched keyword token is now compared against a hard-coded list of actual Dockerfile instructions before they're annotated. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>