Skip to content

Commit b013f66

Browse files
committed
WIP Adds JS, CSS, and minor changes to HTML in index.html
Signed-off-by: michael vincerra <michael.vincerra@intel.com>
1 parent f37089e commit b013f66

5 files changed

Lines changed: 115 additions & 93 deletions

File tree

src/db.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def truncate_text(text):
6464
wrapper = textwrap.fill(text,
6565
initial_indent='',
6666
width=50,
67-
max_lines=3,
67+
max_lines=4,
6868
placeholder="...",
6969
break_long_words=True,
7070
drop_whitespace=True,
@@ -96,7 +96,7 @@ def df_to_db(file_paths:list):
9696
df = df_add_urls(file_paths)
9797
# filepath below must match steps in assoc CI Job, 'with path: app/dev'
9898
# for testing use: ("./sample_db_prd.json")
99-
rev_json = Path('src/docs/_static/sample_db_prd.json')
99+
rev_json = Path('./sample_db_prd.json')
100100
db = df.to_json(rev_json, orient='records')
101101
return db
102102

@@ -115,7 +115,7 @@ def main():
115115
merge_json_files(file_paths)
116116
json_db = df_to_db(file_paths)
117117
# for testing use: ("./sample_db_prd.json")
118-
count_json_recs("src/docs/_static/sample_db_prd.json")
118+
count_json_recs("./sample_db_prd.json")
119119
return json_db
120120

121121
if __name__ == "__main__":

0 commit comments

Comments
 (0)