Skip to content

Commit

Permalink
Merge pull request #95 from goosemo/feature/Add-shell-script-as-a-type
Browse files Browse the repository at this point in the history
Allow for Bash scripts to be used with pycco
  • Loading branch information
subsetpark committed Apr 5, 2016
2 parents 8629683 + 60a646a commit e472761
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pycco/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,11 @@ def generate_html(source, sections, preserve_paths=True, outdir=None):

".sql": {"name": "sql", "symbol": "--"},

".sh": { "name": "bash", "symbol": "#" },

".c": {"name": "c", "symbol": "//",
"multistart": "/*", "multiend": "*/"},

".h": {"name": "c", "symbol": "//",
"multistart": "/*", "multiend": "*/"},

Expand All @@ -329,6 +332,7 @@ def generate_html(source, sections, preserve_paths=True, outdir=None):

".js": {"name": "javascript", "symbol": "//",
"multistart": "/*", "multiend": "*/"},

".rb": {"name": "ruby", "symbol": "#",
"multistart": "=begin", "multiend": "=end"},

Expand Down

0 comments on commit e472761

Please sign in to comment.