vault update: 2024-06-16 18:55:01
Affected files: config.yml output/mod/arguments.yml output/mod/capabilities.json output/mod/config.yml output/mod/graphers.json output/mod/guid.txt output/mod/html/dynamic_footer_inclusions.html output/mod/html/dynamic_inclusions.html output/mod/html/graph.template.html output/mod/html/graph_full_page.template.html output/mod/html/note.template.html output/mod/modfile_dependencies.json output/mod/paths.json output/mod/user_config.yml
This commit is contained in:
parent
14f050f8f3
commit
4b18a5c037
10
config.yml
10
config.yml
@ -5,7 +5,9 @@
|
||||
# should be in obsidian_folder_path_str
|
||||
# Can be absent when toggles/compile_md == False
|
||||
# Use full path or relative path, but don't use ~/
|
||||
obsidian_entrypoint_path_str: './'
|
||||
obsidian_folder_path_str: 'C:/Users/jackb/Documents/obsidian/jack/'
|
||||
|
||||
obsidian_entrypoint_path_str: 'C:/Users/jackb/Documents/obsidian/jack/Index.md'
|
||||
|
||||
# Input and output path of markdown files
|
||||
# This can be an absolute or a relative path (relative to the working directory when calling obsidianhtml)
|
||||
@ -71,10 +73,6 @@ module_list:
|
||||
description:
|
||||
- Gets the metadata of each markdown file, and stores it under metadata/<rel_filepath>.json
|
||||
|
||||
- name: filter_on_metadata
|
||||
description:
|
||||
- Filter out markdown files that do not comply to certain metadata requirements
|
||||
|
||||
- name: copy_vault_to_tempdirectory
|
||||
description:
|
||||
- Copy vault to temporary directory, so that we can edit the obsidian notes themselves safely.
|
||||
@ -116,7 +114,7 @@ keep_module_file_versions: False
|
||||
module_config:
|
||||
get_file_list:
|
||||
include_glob:
|
||||
value: '*'
|
||||
value: "*.md"
|
||||
exclude_glob:
|
||||
value:
|
||||
- ".obsidian/**/*"
|
||||
|
@ -1,4 +0,0 @@
|
||||
command:
|
||||
- convert
|
||||
config_path: config.yml
|
||||
literals: {}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"directory_tree": true,
|
||||
"search_data": true,
|
||||
"graph_data": true,
|
||||
"embedded_note_titles": true
|
||||
}
|
@ -1,328 +0,0 @@
|
||||
_css_file: main_documentation.css
|
||||
audio_format_suffixes:
|
||||
- mp3
|
||||
- webm
|
||||
- wav
|
||||
- m4a
|
||||
- ogg
|
||||
- 3gp
|
||||
- flac
|
||||
copy_output_file_method: default
|
||||
copy_vault_to_tempdir: true
|
||||
copy_vault_to_tempdir_follow_copy: false
|
||||
copy_vault_to_tempdir_method: default
|
||||
embeddable_file_suffixes:
|
||||
- pdf
|
||||
exclude_glob:
|
||||
- /.obsidian
|
||||
- /.trash
|
||||
- /.DS_Store
|
||||
- /.git
|
||||
exclude_subfolders: <DEPRECATED>
|
||||
file_exports: []
|
||||
html_custom_footer_inclusions: []
|
||||
html_custom_inclusions: []
|
||||
html_output_folder_path_str: output/html
|
||||
html_template_path_str: ''
|
||||
html_url_prefix: ''
|
||||
included_file_suffixes:
|
||||
- jpg
|
||||
- jpeg
|
||||
- gif
|
||||
- png
|
||||
- bmp
|
||||
- svg
|
||||
- mp4
|
||||
- webm
|
||||
- ogv
|
||||
- mov
|
||||
- mkv
|
||||
- mp3
|
||||
- wav
|
||||
- m4a
|
||||
- ogg
|
||||
- 3gp
|
||||
- flac
|
||||
- pdf
|
||||
included_folders: []
|
||||
keep_module_file_versions: false
|
||||
max_note_depth: -1
|
||||
md_entrypoint_path_str: output/md/index.md
|
||||
md_folder_path_str: output/md
|
||||
md_source_host_urls: []
|
||||
meta_modules_post:
|
||||
- name: resource_logger
|
||||
persistent: true
|
||||
module_config:
|
||||
get_file_list:
|
||||
exclude_glob:
|
||||
value:
|
||||
- .obsidian/**/*
|
||||
- .trash/**/*
|
||||
- .DS_Store/**/*
|
||||
- .git/**/*
|
||||
include_glob:
|
||||
value: '*'
|
||||
module_data_folder: output/mod
|
||||
module_list:
|
||||
convert_markdown_to_html: []
|
||||
convert_note_to_markdown: []
|
||||
finalize:
|
||||
- description:
|
||||
- Creates the log of which module resources were accessed by which module
|
||||
- Requires persistent meta_module of the same name to work!
|
||||
method: finalize
|
||||
name: resource_logger
|
||||
persistent: true
|
||||
preparation:
|
||||
- description: Merges the user config with default config and runs checks.
|
||||
name: process_config
|
||||
- description: Determine all paths of interest based on input.
|
||||
name: load_paths
|
||||
- description: Fills in auto values that can be read from the vault config.
|
||||
name: process_config_auto
|
||||
- description: Prepare and export templates used to create html output.
|
||||
name: html_templater
|
||||
persistent: true
|
||||
- name: load_graphers
|
||||
persistent: true
|
||||
- description:
|
||||
- Basic file listing based on include_folder/exclude_glob combination
|
||||
- Further filtering can be done in further modules
|
||||
name: get_file_list
|
||||
- description:
|
||||
- Gets the metadata of each markdown file, and stores it under metadata/<rel_filepath>.json
|
||||
name: parse_metadata
|
||||
- description:
|
||||
- Filter out markdown files that do not comply to certain metadata requirements
|
||||
name: filter_on_metadata
|
||||
- description:
|
||||
- Copy vault to temporary directory, so that we can edit the obsidian notes themselves
|
||||
safely.
|
||||
- Must be persistent!
|
||||
name: copy_vault_to_tempdirectory
|
||||
persistent: true
|
||||
- description:
|
||||
- Ensures the output folders are created
|
||||
- Optionally removes previous output if it exists in the target directories
|
||||
name: prepare_output_folders
|
||||
navbar_links: []
|
||||
obsidian_entrypoint_path_str: ./
|
||||
obsidian_folder_path_str: <DEPRECATED>
|
||||
resolve_output_file_links: true
|
||||
site_name: Obsidian-Html/Notes
|
||||
toggles:
|
||||
allow_duplicate_filenames_in_root: true
|
||||
compile_html: true
|
||||
compile_md: true
|
||||
debug_filetree_keys: false
|
||||
external_blank: false
|
||||
features:
|
||||
backlinks:
|
||||
enabled: true
|
||||
breadcrumbs:
|
||||
enabled: false
|
||||
callouts:
|
||||
enabled: true
|
||||
code_highlight:
|
||||
enabled: true
|
||||
create_index_from_dir_structure:
|
||||
enabled: true
|
||||
exclude_files:
|
||||
- .gitignore
|
||||
- favicon.ico
|
||||
- not_created.html
|
||||
exclude_subfolders:
|
||||
- .git
|
||||
- __src
|
||||
- md
|
||||
- obs.html
|
||||
homepage_label: index
|
||||
rel_output_path: obs.html/dir_index.html
|
||||
styling:
|
||||
show_icon: true
|
||||
verbose: false
|
||||
create_index_from_tags:
|
||||
add_links_in_graph_tree: true
|
||||
enabled: false
|
||||
exclude_paths:
|
||||
- .gitignore
|
||||
homepage_label: index
|
||||
match_on_inline_tags: false
|
||||
rel_output_path: obs.html/tag_index.md
|
||||
sort:
|
||||
key_path: ''
|
||||
method: none
|
||||
none_on_bottom: true
|
||||
reverse: false
|
||||
value_prefix: ''
|
||||
styling:
|
||||
include_folder_in_link: false
|
||||
tags: []
|
||||
use_as_homepage: false
|
||||
verbose: false
|
||||
dataview:
|
||||
enabled: false
|
||||
folder: obs.html/export
|
||||
embedded_note_titles:
|
||||
enabled: true
|
||||
hide_on_h1: true
|
||||
embedded_search:
|
||||
enabled: false
|
||||
eraser:
|
||||
enabled: true
|
||||
folder_notes:
|
||||
enabled: false
|
||||
naming: folder name
|
||||
placement: outside folder
|
||||
footnote_md_extension:
|
||||
enabled: true
|
||||
graph:
|
||||
coalesce_force: '-30'
|
||||
enabled: true
|
||||
show_inclusions_in_graph: true
|
||||
styling:
|
||||
show_icon: true
|
||||
templates:
|
||||
- id: 2d
|
||||
name: 2d
|
||||
path: builtin<2d>
|
||||
- id: 3d
|
||||
name: 3d
|
||||
path: builtin<3d>
|
||||
math_latex:
|
||||
enabled: true
|
||||
mermaid_diagrams:
|
||||
enabled: true
|
||||
strip_special_chars: false
|
||||
post_processing: []
|
||||
rss:
|
||||
channel:
|
||||
description: <your description>
|
||||
language_code: en-us
|
||||
managing_editor: n/a
|
||||
title: Notes
|
||||
web_master: n/a
|
||||
website_link: <https://your website.com>
|
||||
enabled: false
|
||||
host_root: https://localhost:8000/
|
||||
items:
|
||||
description:
|
||||
selectors:
|
||||
- - yaml
|
||||
- rss:description
|
||||
- - first-paragraphs
|
||||
- 2
|
||||
- <br/><br/>
|
||||
- - first-header
|
||||
- 1
|
||||
publish_date:
|
||||
default_value: ''
|
||||
format_string: ''
|
||||
iso_formatted: true
|
||||
selectors:
|
||||
- - yaml
|
||||
- rss:publish_date
|
||||
- - yaml_strip
|
||||
- tags
|
||||
- - date/
|
||||
selector:
|
||||
exclude_files:
|
||||
- not_created.html
|
||||
- index.html
|
||||
exclude_keys: []
|
||||
exclude_subfolders:
|
||||
- .git
|
||||
- obs.html
|
||||
include_subfolders: []
|
||||
match_keys: []
|
||||
title:
|
||||
selectors:
|
||||
- - yaml
|
||||
- rss:title
|
||||
- - first-header
|
||||
- 1
|
||||
- - path
|
||||
- - parent
|
||||
- 1
|
||||
- /
|
||||
- - stem
|
||||
styling:
|
||||
show_icon: true
|
||||
search:
|
||||
add_files: true
|
||||
enabled: true
|
||||
styling:
|
||||
show_icon: true
|
||||
try_preload: false
|
||||
side_pane:
|
||||
left_pane:
|
||||
close_if_empty: false
|
||||
content_args:
|
||||
div_selector: .content
|
||||
rel_path: index.html
|
||||
strip_sub_divs:
|
||||
- .toc
|
||||
strip_tags: []
|
||||
contents: dir_tree
|
||||
enabled: true
|
||||
width: 20rem
|
||||
right_pane:
|
||||
close_if_empty: true
|
||||
content_args:
|
||||
div_selector: .content
|
||||
rel_path: index.html
|
||||
strip_sub_divs:
|
||||
- .toc
|
||||
contents: toc
|
||||
enabled: true
|
||||
width: 16rem
|
||||
smiles:
|
||||
enabled: false
|
||||
height: 300px
|
||||
theme: dark
|
||||
width: 100%
|
||||
styling:
|
||||
accent_color: 65, 76, 253
|
||||
add_dir_list: true
|
||||
add_toc: <DEPRECATED>
|
||||
flip_panes: <DEPRECATED>
|
||||
header_template: full
|
||||
layout: documentation
|
||||
loading_bg_color: 22, 22, 22
|
||||
max_note_width: 120rem
|
||||
toc_pane: <DEPRECATED>
|
||||
table_of_contents:
|
||||
add_toc_when_missing: false
|
||||
only_show_for_multiple_headers: true
|
||||
tags_page:
|
||||
enabled: true
|
||||
styling:
|
||||
show_icon: true
|
||||
show_in_note_footer: true
|
||||
theme_picker:
|
||||
enabled: true
|
||||
styling:
|
||||
show_icon: true
|
||||
force_filename_to_lowercase: true
|
||||
img_alt_text_use_figure: true
|
||||
no_clean: false
|
||||
no_tabs: true
|
||||
preserve_inline_tags: true
|
||||
process_all: false
|
||||
relative_path_html: false
|
||||
relative_path_md: true
|
||||
slugify_html_links: false
|
||||
stdout_current_file: false
|
||||
strict_line_breaks: false
|
||||
verbose_printout: false
|
||||
warn_on_skipped_file: true
|
||||
warn_on_skipped_image: true
|
||||
wrap_inclusions: false
|
||||
verbosity: info
|
||||
video_format_suffixes:
|
||||
- mp4
|
||||
- webm
|
||||
- ogv
|
||||
- mov
|
||||
- mkv
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
3cd6efe0-8d37-4c4b-8e21-d5e5906014c0
|
@ -1 +0,0 @@
|
||||
|
@ -1 +0,0 @@
|
||||
|
@ -1,26 +0,0 @@
|
||||
<div class="graph requires_js {graph_classes}">
|
||||
<div id="A{id}{level}" class="graph_div"></div>
|
||||
|
||||
<div class="graph-instructions" id="D{id}{level}">
|
||||
Left-click: follow link, Right-click: select node, Scroll: zoom
|
||||
</div>
|
||||
|
||||
<div class="graph-button-row" style="display:flex;">
|
||||
<button class="graph_button graph_show_button" id="B{id}{level}" level="{level}" note_temp_id="{id}" onclick="window.ObsHtmlGraph.run(this, '{id}', '{pinnedNode}');">
|
||||
Show Graph
|
||||
</button>
|
||||
<button class="graph_button graph_type_button" id="C{id}{level}" style="flex:1" onclick="window.ObsHtmlGraph.switch_graph_type(this);">
|
||||
2D
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="module">
|
||||
if (window.ObsHtmlGraph == undefined){
|
||||
import('{html_url_prefix}/obs.html/static/graph.js').then((Module) => {
|
||||
window.ObsHtmlGraph = Module;
|
||||
window.ObsHtmlGraph.arm_page(document.getElementById('page_holder'))
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
@ -1,114 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<!-- Page information -->
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="node_id" content="{node_id}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="shortcut icon" href="{html_url_prefix}/favicon.ico" />
|
||||
|
||||
<!-- Set title -->
|
||||
<title>{title}</title>
|
||||
|
||||
<!-- Includes -->
|
||||
{dynamic_includes}
|
||||
|
||||
<!-- Onload tweaks -->
|
||||
<script>
|
||||
const CURRENT_NODE = '{pinnedNode}';
|
||||
const HTML_URL_PREFIX = '{html_url_prefix}';
|
||||
const PAGE_DEPTH = {page_depth};
|
||||
const CONFIGURED_HTML_URL_PREFIX = '{configured_html_url_prefix}';
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="theme-obs-light">
|
||||
<div id="antiflash" style="display: none;"></div>
|
||||
<script>
|
||||
document.getElementById('antiflash').style.display = 'block';
|
||||
</script>
|
||||
{search_html}
|
||||
|
||||
<div id="page_holder" class="flex_col">
|
||||
<div id="header" class="header">
|
||||
<div id="header_flex" class="flex_row">
|
||||
<a href="{html_url_prefix}/index.html" id="homelink" title="Clear screen and go to homepage">{title}</a>
|
||||
<div class="navbar-button" onclick="toggle_menu()">
|
||||
≡
|
||||
</div>
|
||||
<div id="navbar" class="navbar">
|
||||
{{navbar_links}}
|
||||
<div class="icon-tray">
|
||||
{theme_button}
|
||||
{search_button}
|
||||
{graph_button}
|
||||
{dirtree_button}
|
||||
{tags_page_button}
|
||||
{rss_button}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{theme_popup}
|
||||
</div>
|
||||
|
||||
<div class="graph_full_page">
|
||||
<div class="graph-button-row" style="display:flex;">
|
||||
<button class="graph_button graph_show_button" id="Bgraph_full_page" level="" note_temp_id="graph_full_page" style="visibility: hidden; margin:0px">
|
||||
Show Graph
|
||||
</button>
|
||||
<button class="graph_button graph_type_button" id="Cgraph_full_page" style="flex:1; margin:0px; margin-right:0.2rem;" onclick="window.ObsHtmlGraph.switch_graph_type(this);">
|
||||
2D
|
||||
</button>
|
||||
</div>
|
||||
<div id="Agraph_full_page" class="graph_div_full"></div>
|
||||
<div class="graph-instructions fadein" id="Dgraph_full_page">
|
||||
Left-click: follow link, Right-click: select node, Scroll: zoom
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script type="module">
|
||||
document.addEventListener('DOMContentLoaded', load_fullpage_graph);
|
||||
|
||||
function load_fullpage_graph(){
|
||||
|
||||
// set graph_type button correctly
|
||||
let type_d = ls_get('graph_type_d');
|
||||
if (!type_d){
|
||||
ls_set('graph_type_d', '2D');
|
||||
type_d = '2D';
|
||||
}
|
||||
document.getElementById('Cgraph_full_page').innerHTML = type_d;
|
||||
|
||||
import('{html_url_prefix}/obs.html/static/graph.js').then((Module) => {
|
||||
window.ObsHtmlGraph = Module;
|
||||
window.ObsHtmlGraph.arm_page(document.getElementById('page_holder'))
|
||||
|
||||
// overwrites
|
||||
window.ObsHtmlGraph.default_actions['open_link'] = function (args){
|
||||
console.log('hi openlink')
|
||||
return window.ObsHtmlGraph.graph_open_link_normal(args)()
|
||||
}
|
||||
|
||||
|
||||
// Get node id from the page where we clicked on the icon for the fullpage graph
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const pinnedNode = urlParams.get('node');
|
||||
|
||||
// Immediately run graph instead of waiting for button click
|
||||
window.ObsHtmlGraph.run(document.getElementById('Bgraph_full_page'), 'graph_full_page', pinnedNode);
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
{footer_js_inclusions}
|
||||
{dynamic_footer_includes}
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,171 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<!-- Page information -->
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="node_id" content="{node_id}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="shortcut icon" href="{html_url_prefix}/favicon.ico" />
|
||||
|
||||
<!-- Set title -->
|
||||
<title>{title}</title>
|
||||
|
||||
<!-- Includes -->
|
||||
{dynamic_includes}
|
||||
|
||||
<!-- Onload tweaks -->
|
||||
<script>
|
||||
const CURRENT_NODE = '{pinnedNode}';
|
||||
const HTML_URL_PREFIX = '{html_url_prefix}';
|
||||
const PAGE_DEPTH = {page_depth};
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="theme-obs-light">
|
||||
<div id="antiflash" style="display: none;"></div>
|
||||
<script>
|
||||
document.getElementById('antiflash').style.display = 'block';
|
||||
</script>
|
||||
{search_html}
|
||||
|
||||
<div id="page_holder" class="flex_col">
|
||||
{header}
|
||||
<div class="flex_row">
|
||||
{left_pane}
|
||||
<div class="container">
|
||||
{content}
|
||||
<!-- end content -->
|
||||
</div>
|
||||
<div class="container_filler">
|
||||
</div>
|
||||
{right_pane}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function handle_toggle_side_bar(e){
|
||||
let header;
|
||||
let pane;
|
||||
let target = e.target
|
||||
|
||||
// switch out the navbar button click for a header click
|
||||
if (target.id == 'left_pane_toggle_nav'){
|
||||
target = document.getElementById('left_pane_fold_header')
|
||||
}
|
||||
else if (target.id == 'right_pane_toggle_nav'){
|
||||
target = document.getElementById('right_pane_fold_header')
|
||||
}
|
||||
|
||||
// get header and pane
|
||||
if (target.classList.contains('fold_header')) {
|
||||
header = target;
|
||||
pane = target.parentElement;
|
||||
}
|
||||
else {
|
||||
pane = target;
|
||||
header = target.getElementsByClassName('fold_header')[0];
|
||||
}
|
||||
toggle_side_bar(pane, header, true)
|
||||
e.stopPropagation();
|
||||
}
|
||||
function handle_toggle_side_bar_button(e){
|
||||
document.getElementById('menu_toggle_button').click()
|
||||
handle_toggle_side_bar(e);
|
||||
}
|
||||
|
||||
function toggle_side_bar(pane, header, save) {
|
||||
let active = (pane.classList.contains('active'))
|
||||
if (active){
|
||||
disable_side_bar(pane, header, save);
|
||||
}
|
||||
else {
|
||||
enable_side_bar(pane, header, save);
|
||||
}
|
||||
}
|
||||
function enable_side_bar(pane, header, save){
|
||||
pane.classList.add('active');
|
||||
pane.removeEventListener('click', handle_toggle_side_bar);
|
||||
header.addEventListener('click', handle_toggle_side_bar);
|
||||
set_correct_header_symbol(header);
|
||||
if (save){ save_panel_folding_state(header, true) }
|
||||
}
|
||||
function disable_side_bar(pane, header, save){
|
||||
pane.classList.remove('active');
|
||||
pane.addEventListener('click', handle_toggle_side_bar);
|
||||
header.removeEventListener('click', handle_toggle_side_bar);
|
||||
set_correct_header_symbol(header);
|
||||
if (save){ save_panel_folding_state(header, false) }
|
||||
}
|
||||
function set_correct_header_symbol(header){
|
||||
let pane = header.parentElement;
|
||||
let symbol = [['>', '<'],['<', '>']]
|
||||
symbol = symbol[Number(header.classList.contains('right_pane_fold_header'))][Number(pane.classList.contains('active'))];
|
||||
console.log(symbol);
|
||||
header.innerHTML = symbol
|
||||
return header;
|
||||
}
|
||||
function panel_folding_get_panel_name(header){
|
||||
return ['left', 'right'][Number(header.classList.contains('right_pane_fold_header'))]
|
||||
}
|
||||
function save_panel_folding_state(header, active){
|
||||
ls_set('pane_folding_state_'+panel_folding_get_panel_name(header), Number(active));
|
||||
}
|
||||
function load_panel_folding_state(panel_name){
|
||||
val = ls_get('pane_folding_state_'+panel_name)
|
||||
if (!val){ return {'exists': false, 'value': null}}
|
||||
return {'exists': true, 'value': Boolean(Number(val))}
|
||||
}
|
||||
function set_pane_folding_start(left_header, right_header){
|
||||
// small screen = closed
|
||||
let right_pane_enabled = true;
|
||||
let left_pane_enabled = true;
|
||||
let w = window.visualViewport.width
|
||||
if (w < 1000){
|
||||
left_pane_enabled = false
|
||||
}
|
||||
if (w < 800){
|
||||
right_pane_enabled = false
|
||||
}
|
||||
|
||||
// get saved values if present
|
||||
let rval = load_panel_folding_state('right')
|
||||
if (rval['exists']){
|
||||
right_pane_enabled = rval['value']
|
||||
}
|
||||
let lval = load_panel_folding_state('left')
|
||||
if (lval['exists']){
|
||||
left_pane_enabled = lval['value']
|
||||
}
|
||||
|
||||
// default = enabled, so we only need to disable
|
||||
if (!left_pane_enabled){
|
||||
disable_side_bar(document.getElementById('left_pane'), document.getElementById('left_pane_fold_header'))
|
||||
}
|
||||
if (!right_pane_enabled){
|
||||
disable_side_bar(document.getElementById('right_pane'), document.getElementById('right_pane_fold_header'))
|
||||
}
|
||||
}
|
||||
|
||||
function init_pane_folding(header){
|
||||
set_correct_header_symbol(header);
|
||||
header.addEventListener('click', handle_toggle_side_bar);
|
||||
}
|
||||
|
||||
|
||||
set_pane_folding_start()
|
||||
init_pane_folding(document.getElementById('left_pane_fold_header'));
|
||||
init_pane_folding(document.getElementById('right_pane_fold_header'));
|
||||
|
||||
document.getElementById('left_pane_toggle_nav').addEventListener('click', handle_toggle_side_bar_button);
|
||||
document.getElementById('right_pane_toggle_nav').addEventListener('click', handle_toggle_side_bar_button);
|
||||
</script>
|
||||
|
||||
{footer_js_inclusions}
|
||||
{dynamic_footer_includes}
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,174 +0,0 @@
|
||||
{
|
||||
"log.resources": {
|
||||
"provided_by": [
|
||||
"resource_logger (ResourceLoggerMetaModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"config.yml": {
|
||||
"provided_by": [
|
||||
"setup_module (SetupModule)"
|
||||
],
|
||||
"required_by": [
|
||||
"resource_logger (ResourceLoggerMetaModule)",
|
||||
"process_config (ProcessConfigModule)",
|
||||
"load_paths (LoadPathsModule)",
|
||||
"process_config_auto (ProcessConfigAutoModule)",
|
||||
"html_templater (HtmlTemplaterModule)",
|
||||
"load_graphers (LoadGrapherModule)",
|
||||
"get_file_list (GetFileListModule)",
|
||||
"copy_vault_to_tempdirectory (VaultCopyModule)",
|
||||
"prepare_output_folders (PrepareOutputFoldersModule)"
|
||||
],
|
||||
"altered_by": [
|
||||
"process_config (ProcessConfigModule)",
|
||||
"process_config_auto (ProcessConfigAutoModule)"
|
||||
]
|
||||
},
|
||||
"capabilities.json": {
|
||||
"provided_by": [
|
||||
"process_config (ProcessConfigModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"arguments.yml": {
|
||||
"provided_by": [
|
||||
"setup_module (SetupModule)"
|
||||
],
|
||||
"required_by": [
|
||||
"process_config (ProcessConfigModule)"
|
||||
],
|
||||
"altered_by": []
|
||||
},
|
||||
"paths.json": {
|
||||
"provided_by": [
|
||||
"load_paths (LoadPathsModule)"
|
||||
],
|
||||
"required_by": [
|
||||
"process_config_auto (ProcessConfigAutoModule)",
|
||||
"get_file_list (GetFileListModule)",
|
||||
"parse_metadata (ParseMetadataModule)",
|
||||
"filter_on_metadata (FilterOnMetadataModule)",
|
||||
"copy_vault_to_tempdirectory (VaultCopyModule)",
|
||||
"prepare_output_folders (PrepareOutputFoldersModule)"
|
||||
],
|
||||
"altered_by": [
|
||||
"copy_vault_to_tempdirectory (VaultCopyModule)"
|
||||
]
|
||||
},
|
||||
"html/note.template.html": {
|
||||
"provided_by": [
|
||||
"html_templater (HtmlTemplaterModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"html/dynamic_inclusions.html": {
|
||||
"provided_by": [
|
||||
"html_templater (HtmlTemplaterModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"html/dynamic_footer_inclusions.html": {
|
||||
"provided_by": [
|
||||
"html_templater (HtmlTemplaterModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"html/graph.template.html": {
|
||||
"provided_by": [
|
||||
"load_graphers (LoadGrapherModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"html/graph_full_page.template.html": {
|
||||
"provided_by": [
|
||||
"load_graphers (LoadGrapherModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"graphers.json": {
|
||||
"provided_by": [
|
||||
"load_graphers (LoadGrapherModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"index/files.json": {
|
||||
"provided_by": [
|
||||
"get_file_list (GetFileListModule)"
|
||||
],
|
||||
"required_by": [
|
||||
"filter_on_metadata (FilterOnMetadataModule)",
|
||||
"copy_vault_to_tempdirectory (VaultCopyModule)"
|
||||
],
|
||||
"altered_by": [
|
||||
"filter_on_metadata (FilterOnMetadataModule)",
|
||||
"copy_vault_to_tempdirectory (VaultCopyModule)"
|
||||
]
|
||||
},
|
||||
"index/excluded_files.json": {
|
||||
"provided_by": [
|
||||
"get_file_list (GetFileListModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"index/markdown_files.json": {
|
||||
"provided_by": [
|
||||
"get_file_list (GetFileListModule)"
|
||||
],
|
||||
"required_by": [
|
||||
"parse_metadata (ParseMetadataModule)",
|
||||
"filter_on_metadata (FilterOnMetadataModule)"
|
||||
],
|
||||
"altered_by": [
|
||||
"filter_on_metadata (FilterOnMetadataModule)"
|
||||
]
|
||||
},
|
||||
"index/metadata.json": {
|
||||
"provided_by": [
|
||||
"parse_metadata (ParseMetadataModule)"
|
||||
],
|
||||
"required_by": [
|
||||
"filter_on_metadata (FilterOnMetadataModule)"
|
||||
],
|
||||
"altered_by": []
|
||||
},
|
||||
"excluded_files_by_metadata.json": {
|
||||
"provided_by": [
|
||||
"filter_on_metadata (FilterOnMetadataModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"guid.txt": {
|
||||
"provided_by": [
|
||||
"setup_module (SetupModule)"
|
||||
],
|
||||
"required_by": [
|
||||
"prepare_output_folders (PrepareOutputFoldersModule)"
|
||||
],
|
||||
"altered_by": []
|
||||
},
|
||||
"user_config.yml": {
|
||||
"provided_by": [
|
||||
"setup_module (SetupModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
},
|
||||
"modfile_dependencies.json": {
|
||||
"provided_by": [
|
||||
"setup_module (SetupModule)"
|
||||
],
|
||||
"required_by": [],
|
||||
"altered_by": []
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
{
|
||||
"obsidian_folder": "C:/Users/jackb/Documents/obsidian/jack",
|
||||
"md_folder": "C:/Users/jackb/Documents/obsidian/jack/output/md",
|
||||
"obsidian_entrypoint": "C:/Users/jackb/Documents/obsidian/jack",
|
||||
"md_entrypoint": "C:/Users/jackb/Documents/obsidian/jack/output/md/index.md",
|
||||
"html_output_folder": "C:/Users/jackb/Documents/obsidian/jack/output/html",
|
||||
"appdir": "C:/Users/jackb/AppData/Local/obsidianhtml/obsidianhtml",
|
||||
"original_obsidian_folder": "C:/Users/jackb/Documents/obsidian/jack",
|
||||
"original_obsidian_entrypoint": "C:/Users/jackb/Documents/obsidian/jack",
|
||||
"dataview_export_folder": "C:/Users/jackb/Documents/obsidian/jack/obs.html/export",
|
||||
"rel_obsidian_entrypoint": ".",
|
||||
"rel_md_entrypoint_path": "index.md",
|
||||
"input_folder": "C:/Users/jackb/Documents/obsidian/jack",
|
||||
"entrypoint": "C:/Users/jackb/Documents/obsidian/jack",
|
||||
"original_input_folder": "C:/Users/jackb/Documents/obsidian/jack"
|
||||
}
|
@ -1,325 +0,0 @@
|
||||
audio_format_suffixes:
|
||||
- mp3
|
||||
- webm
|
||||
- wav
|
||||
- m4a
|
||||
- ogg
|
||||
- 3gp
|
||||
- flac
|
||||
copy_output_file_method: default
|
||||
copy_vault_to_tempdir: true
|
||||
copy_vault_to_tempdir_follow_copy: false
|
||||
copy_vault_to_tempdir_method: default
|
||||
embeddable_file_suffixes:
|
||||
- pdf
|
||||
exclude_glob:
|
||||
- /.obsidian
|
||||
- /.trash
|
||||
- /.DS_Store
|
||||
- /.git
|
||||
exclude_subfolders: <DEPRECATED>
|
||||
file_exports: []
|
||||
html_custom_footer_inclusions: []
|
||||
html_custom_inclusions: []
|
||||
html_output_folder_path_str: output/html
|
||||
html_template_path_str: ''
|
||||
html_url_prefix: ''
|
||||
included_file_suffixes:
|
||||
- jpg
|
||||
- jpeg
|
||||
- gif
|
||||
- png
|
||||
- bmp
|
||||
- svg
|
||||
- mp4
|
||||
- webm
|
||||
- ogv
|
||||
- mov
|
||||
- mkv
|
||||
- mp3
|
||||
- wav
|
||||
- m4a
|
||||
- ogg
|
||||
- 3gp
|
||||
- flac
|
||||
- pdf
|
||||
included_folders: []
|
||||
keep_module_file_versions: false
|
||||
max_note_depth: -1
|
||||
md_entrypoint_path_str: output/md/index.md
|
||||
md_folder_path_str: output/md
|
||||
md_source_host_urls: []
|
||||
meta_modules_post:
|
||||
- name: resource_logger
|
||||
persistent: true
|
||||
module_config:
|
||||
get_file_list:
|
||||
exclude_glob:
|
||||
value:
|
||||
- .obsidian/**/*
|
||||
- .trash/**/*
|
||||
- .DS_Store/**/*
|
||||
- .git/**/*
|
||||
include_glob:
|
||||
value: '*'
|
||||
module_data_folder: output/mod
|
||||
module_list:
|
||||
convert_markdown_to_html: []
|
||||
convert_note_to_markdown: []
|
||||
finalize:
|
||||
- description:
|
||||
- Creates the log of which module resources were accessed by which module
|
||||
- Requires persistent meta_module of the same name to work!
|
||||
method: finalize
|
||||
name: resource_logger
|
||||
persistent: true
|
||||
preparation:
|
||||
- description: Merges the user config with default config and runs checks.
|
||||
name: process_config
|
||||
- description: Determine all paths of interest based on input.
|
||||
name: load_paths
|
||||
- description: Fills in auto values that can be read from the vault config.
|
||||
name: process_config_auto
|
||||
- description: Prepare and export templates used to create html output.
|
||||
name: html_templater
|
||||
persistent: true
|
||||
- name: load_graphers
|
||||
persistent: true
|
||||
- description:
|
||||
- Basic file listing based on include_folder/exclude_glob combination
|
||||
- Further filtering can be done in further modules
|
||||
name: get_file_list
|
||||
- description:
|
||||
- Gets the metadata of each markdown file, and stores it under metadata/<rel_filepath>.json
|
||||
name: parse_metadata
|
||||
- description:
|
||||
- Filter out markdown files that do not comply to certain metadata requirements
|
||||
name: filter_on_metadata
|
||||
- description:
|
||||
- Copy vault to temporary directory, so that we can edit the obsidian notes themselves
|
||||
safely.
|
||||
- Must be persistent!
|
||||
name: copy_vault_to_tempdirectory
|
||||
persistent: true
|
||||
- description:
|
||||
- Ensures the output folders are created
|
||||
- Optionally removes previous output if it exists in the target directories
|
||||
name: prepare_output_folders
|
||||
navbar_links: []
|
||||
obsidian_entrypoint_path_str: ./
|
||||
resolve_output_file_links: true
|
||||
site_name: Obsidian-Html/Notes
|
||||
toggles:
|
||||
allow_duplicate_filenames_in_root: true
|
||||
compile_html: true
|
||||
compile_md: true
|
||||
debug_filetree_keys: false
|
||||
external_blank: false
|
||||
features:
|
||||
backlinks:
|
||||
enabled: true
|
||||
breadcrumbs:
|
||||
enabled: false
|
||||
callouts:
|
||||
enabled: true
|
||||
code_highlight:
|
||||
enabled: true
|
||||
create_index_from_dir_structure:
|
||||
enabled: true
|
||||
exclude_files:
|
||||
- .gitignore
|
||||
- favicon.ico
|
||||
- not_created.html
|
||||
exclude_subfolders:
|
||||
- .git
|
||||
- __src
|
||||
- md
|
||||
- obs.html
|
||||
homepage_label: index
|
||||
rel_output_path: obs.html/dir_index.html
|
||||
styling:
|
||||
show_icon: true
|
||||
verbose: false
|
||||
create_index_from_tags:
|
||||
add_links_in_graph_tree: true
|
||||
enabled: false
|
||||
exclude_paths:
|
||||
- .gitignore
|
||||
homepage_label: index
|
||||
match_on_inline_tags: false
|
||||
rel_output_path: obs.html/tag_index.md
|
||||
sort:
|
||||
key_path: ''
|
||||
method: none
|
||||
none_on_bottom: true
|
||||
reverse: false
|
||||
value_prefix: ''
|
||||
styling:
|
||||
include_folder_in_link: false
|
||||
tags: []
|
||||
use_as_homepage: false
|
||||
verbose: false
|
||||
dataview:
|
||||
enabled: false
|
||||
folder: obs.html/export
|
||||
embedded_note_titles:
|
||||
enabled: true
|
||||
hide_on_h1: true
|
||||
embedded_search:
|
||||
enabled: false
|
||||
eraser:
|
||||
enabled: true
|
||||
folder_notes:
|
||||
enabled: false
|
||||
naming: folder name
|
||||
placement: outside folder
|
||||
footnote_md_extension:
|
||||
enabled: true
|
||||
graph:
|
||||
coalesce_force: '-30'
|
||||
enabled: true
|
||||
show_inclusions_in_graph: true
|
||||
styling:
|
||||
show_icon: true
|
||||
templates:
|
||||
- id: 2d
|
||||
name: 2d
|
||||
path: builtin<2d>
|
||||
- id: 3d
|
||||
name: 3d
|
||||
path: builtin<3d>
|
||||
math_latex:
|
||||
enabled: true
|
||||
mermaid_diagrams:
|
||||
enabled: true
|
||||
strip_special_chars: false
|
||||
post_processing: []
|
||||
rss:
|
||||
channel:
|
||||
description: <your description>
|
||||
language_code: en-us
|
||||
managing_editor: n/a
|
||||
title: Notes
|
||||
web_master: n/a
|
||||
website_link: <https://your website.com>
|
||||
enabled: false
|
||||
host_root: https://localhost:8000/
|
||||
items:
|
||||
description:
|
||||
selectors:
|
||||
- - yaml
|
||||
- rss:description
|
||||
- - first-paragraphs
|
||||
- 2
|
||||
- <br/><br/>
|
||||
- - first-header
|
||||
- 1
|
||||
publish_date:
|
||||
default_value: ''
|
||||
format_string: ''
|
||||
iso_formatted: true
|
||||
selectors:
|
||||
- - yaml
|
||||
- rss:publish_date
|
||||
- - yaml_strip
|
||||
- tags
|
||||
- - date/
|
||||
selector:
|
||||
exclude_files:
|
||||
- not_created.html
|
||||
- index.html
|
||||
exclude_keys: []
|
||||
exclude_subfolders:
|
||||
- .git
|
||||
- obs.html
|
||||
include_subfolders: []
|
||||
match_keys: []
|
||||
title:
|
||||
selectors:
|
||||
- - yaml
|
||||
- rss:title
|
||||
- - first-header
|
||||
- 1
|
||||
- - path
|
||||
- - parent
|
||||
- 1
|
||||
- /
|
||||
- - stem
|
||||
styling:
|
||||
show_icon: true
|
||||
search:
|
||||
add_files: true
|
||||
enabled: true
|
||||
styling:
|
||||
show_icon: true
|
||||
try_preload: false
|
||||
side_pane:
|
||||
left_pane:
|
||||
close_if_empty: false
|
||||
content_args:
|
||||
div_selector: .content
|
||||
rel_path: index.html
|
||||
strip_sub_divs:
|
||||
- .toc
|
||||
strip_tags: []
|
||||
contents: dir_tree
|
||||
enabled: true
|
||||
width: 20rem
|
||||
right_pane:
|
||||
close_if_empty: true
|
||||
content_args:
|
||||
div_selector: .content
|
||||
rel_path: index.html
|
||||
strip_sub_divs:
|
||||
- .toc
|
||||
contents: toc
|
||||
enabled: true
|
||||
width: 16rem
|
||||
smiles:
|
||||
enabled: false
|
||||
height: 300px
|
||||
theme: dark
|
||||
width: 100%
|
||||
styling:
|
||||
accent_color: 65, 76, 253
|
||||
add_dir_list: true
|
||||
add_toc: <DEPRECATED>
|
||||
flip_panes: <DEPRECATED>
|
||||
header_template: full
|
||||
layout: documentation
|
||||
loading_bg_color: 22, 22, 22
|
||||
max_note_width: 120rem
|
||||
toc_pane: <DEPRECATED>
|
||||
table_of_contents:
|
||||
add_toc_when_missing: false
|
||||
only_show_for_multiple_headers: true
|
||||
tags_page:
|
||||
enabled: true
|
||||
styling:
|
||||
show_icon: true
|
||||
show_in_note_footer: true
|
||||
theme_picker:
|
||||
enabled: true
|
||||
styling:
|
||||
show_icon: true
|
||||
force_filename_to_lowercase: true
|
||||
img_alt_text_use_figure: true
|
||||
no_clean: false
|
||||
preserve_inline_tags: true
|
||||
process_all: false
|
||||
relative_path_html: false
|
||||
relative_path_md: true
|
||||
slugify_html_links: false
|
||||
stdout_current_file: false
|
||||
strict_line_breaks: auto
|
||||
verbose_printout: false
|
||||
warn_on_skipped_file: true
|
||||
warn_on_skipped_image: true
|
||||
wrap_inclusions: false
|
||||
verbosity: info
|
||||
video_format_suffixes:
|
||||
- mp4
|
||||
- webm
|
||||
- ogv
|
||||
- mov
|
||||
- mkv
|
Loading…
Reference in New Issue
Block a user