diff --git a/.stignore b/.stignore index 716d7c4..ec12129 100644 --- a/.stignore +++ b/.stignore @@ -2,7 +2,7 @@ (?d).DS_Store #distribusi controlled -index.html +(?d)**/index.html #git related .git @@ -16,4 +16,3 @@ node_modules # data - diff --git a/distribusi/distribusi.py b/distribusi/distribusi.py index c76defc..1b87c89 100644 --- a/distribusi/distribusi.py +++ b/distribusi/distribusi.py @@ -150,7 +150,8 @@ def render_dir(args, root): subtype = 'html' # what types of text files to expand a = '
{}
'.format(name, open(full_path).read()) - elif subtype in CODE_TYPES or name.endswith('.txt'): + #elif subtype in CODE_TYPES or name.endswith('.txt'): + elif name.endswith('.txt'): #check - time string m = PATTERN_TSTR.search(name) tstring = "" @@ -260,7 +261,8 @@ def distribusify(args, directory): # noqa subtype = 'html' # what types of text files to expand a = '
{}
'.format(name, open(full_path).read()) - elif subtype in CODE_TYPES or name.endswith('.txt'): + #elif subtype in CODE_TYPES or name.endswith('.txt'): + elif name.endswith('.txt'): #check - time string m = PATTERN_TSTR.search(name) tstring = "" diff --git a/styles/dark.css b/styles/dark.css index 51a9f76..2e5b7b7 100644 --- a/styles/dark.css +++ b/styles/dark.css @@ -61,6 +61,12 @@ div { white-space: pre-line; } +/* .x-c div, +.x-shellscript div, +.x-python div { + white-space: pre-line; +} */ + figure { margin: 0; padding: 0;