Closed Naveenaidu closed 5 years ago
Grammer file produces a hyperlink to the respective grammar files when we provide the entry to it in the language file.
Example:- C.yaml grammar_file: https://github.com/antlr/grammars-v4/blob/master/c/C.g4
grammar_file: https://github.com/antlr/grammars-v4/blob/master/c/C.g4
After the site is deployed, the results are rendered as: https://coast.netlify.com/c/ As you see here a hyperlink is produced for the grammar file.
But
When the grammar file field is empty or not mentioned in the language file such as Bash.yaml or Swift.yaml where the grammar file is not present.
grammar file
When these files get rendered, they display the text None which hyperlinks to a page which do not exist.
None
This needs to be fixed. Instead of showing None with a hyperlink. It should only show None without any hyperlinks.
label: difficulty/low
Can I work on this issue?
Grammer file produces a hyperlink to the respective grammar files when we provide the entry to it in the language file.
Example:- C.yaml
grammar_file: https://github.com/antlr/grammars-v4/blob/master/c/C.g4
After the site is deployed, the results are rendered as: https://coast.netlify.com/c/ As you see here a hyperlink is produced for the grammar file.
But
When the
grammar file
field is empty or not mentioned in the language file such as Bash.yaml or Swift.yaml where the grammar file is not present.When these files get rendered, they display the text
None
which hyperlinks to a page which do not exist.This needs to be fixed. Instead of showing None with a hyperlink. It should only show
None
without any hyperlinks.label: difficulty/low