From 4264e3ab7b597a0401cbe7283dec5612249b9b7a Mon Sep 17 00:00:00 2001 From: Agnete Moos Date: Fri, 11 Oct 2024 08:41:00 +0200 Subject: [PATCH] Site structure and script metadata --- Gemfile | 3 +- Gemfile.lock | 4 +- _config.yml | 192 +++++++++++++++--- _includes/components/children_nav.html | 92 +++++++++ _includes/script_metadata.html | 42 ++-- _includes/translation.html | 7 + _layouts/docs.html | 19 ++ _layouts/script.html | 48 ----- _pages/home.md | 1 - _plugins/read_script_content.rb | 23 +++ _sass/custom/custom.scss | 80 ++++++++ .../general_lts_upgrade_in_place_step_1.md | 51 ----- .../general_lts_upgrade_in_place_step_2.md | 51 ----- .../kiosk_lts_upgrade_in_place_step_3.md | 49 ----- .../kiosk_lts_upgrade_in_place_step_4.md | 49 ----- ...os2borgerpc_lts_upgrade_in_place_step_3.md | 49 ----- ...os2borgerpc_lts_upgrade_in_place_step_4.md | 49 ----- _scripts/home.md | 1 - {_pages => docs}/dokumentation.md | 0 .../general_lts_upgrade_in_place_step_1.md | 52 +++++ .../general_lts_upgrade_in_place_step_2.md | 52 +++++ docs/scripts/22_04_opgradering/index.md | 6 + .../kiosk_lts_upgrade_in_place_step_3.md | 50 +++++ .../kiosk_lts_upgrade_in_place_step_4.md | 50 +++++ ...os2borgerpc_lts_upgrade_in_place_step_3.md | 50 +++++ ...os2borgerpc_lts_upgrade_in_place_step_4.md | 50 +++++ .../scripts}/browser/browser_set_default.md | 4 +- .../browser/browser_update_launcher.md | 4 +- .../chrome_chromium_add_remove_extension.md | 6 +- .../browser/chrome_chromium_allow_audio.md | 4 +- .../chrome_chromium_guest_mode_enforced.md | 4 +- .../chrome_chromium_incognito_enforce.md | 4 +- ...e_chromium_open_pdfs_in_external_reader.md | 4 +- .../chrome_chromium_policy_bookmarks.md | 4 +- .../chrome_chromium_policy_homepage.md | 4 +- ...romium_start_maximized_fullscreen_kiosk.md | 4 +- ...rome_disable_post_quantum_key_agreement.md | 6 +- .../browser/chrome_fake_user_agent.md | 4 +- .../scripts}/browser/chrome_install.md | 8 +- .../scripts}/browser/chrome_logins_add.md | 10 +- .../scripts}/browser/chrome_logins_fetch.md | 12 +- .../chrome_password_manager_access_toggle.md | 12 +- .../scripts}/browser/edge_install.md | 4 +- .../browser/firefox_global_policies.md | 4 +- .../browser/firefox_start_maximized.md | 4 +- docs/scripts/browser/index.md | 5 + .../desktop/add_files_to_desktop_directory.md | 2 +- ...onitor_settings_from_superuser_shortcut.md | 2 +- .../scripts}/desktop/dconf_a11y.md | 2 +- .../desktop/dconf_desktop_background.md | 2 +- .../desktop/dconf_ubuntu_dock_adjust.md | 2 +- .../desktop_launcher_logout_button_icon.md | 2 +- .../desktop_launcher_program_shortcut.md | 2 +- .../desktop/desktop_logout_button_icon.md | 2 +- .../desktop/desktop_print_program_list.md | 2 +- .../desktop/desktop_program_shortcut.md | 2 +- .../desktop/desktop_shortcut_to_directory.md | 2 +- .../scripts}/desktop/desktop_url_shortcut.md | 2 +- docs/scripts/desktop/index.md | 5 + .../scripts}/fejlfinding/debug_network.md | 2 +- .../scripts}/fejlfinding/debug_os2display.md | 2 +- .../scripts}/fejlfinding/debug_printers.md | 2 +- .../scripts}/fejlfinding/debug_samba.md | 2 +- .../debug_samba_test_connection.md | 2 +- .../scripts}/fejlfinding/debug_scanners.md | 2 +- .../scripts}/fejlfinding/debug_schedule.md | 2 +- .../fejlfinding/debug_security_events.md | 2 +- .../debug_security_events_full_logs.md | 2 +- .../scripts}/fejlfinding/debug_sound.md | 2 +- .../scripts/fejlfinding}/empty_job_logs.md | 2 +- .../fejlfinding/gather_hardware_info.md | 2 +- .../fejlfinding/heimdal_check_status.md | 2 +- docs/scripts/fejlfinding/index.md | 5 + .../fejlfinding/kiosk_general_debug.md | 2 +- .../fejlfinding/list_programs_services.md | 2 +- .../fejlfinding/login_lightdm_debugging.md | 2 +- .../fejlfinding/os2borgerpc_general_debug.md | 2 +- .../fejlfinding}/print_intel_driver_info.md | 2 +- .../verify_access_to_bpc_parameter_storage.md | 2 +- docs/scripts/index.md | 4 + docs/scripts/libreoffice/index.md | 5 + .../overwrite_libreoffice_config.md | 2 +- .../scripts}/login/change_login_timeout.md | 2 +- .../scripts}/login/dconf_change_login_bg.md | 2 +- .../scripts}/login/get_daily_login_count.md | 2 +- docs/scripts/login/index.md | 5 + .../login/lightdm_hide_desktop_env_select.md | 2 +- .../scripts}/login/lightdm_hide_superuser.md | 2 +- .../scripts}/login/user_automatic_login.md | 2 +- docs/scripts/lyd/index.md | 5 + .../lyd/pulse_clear_audio_settings.md | 2 +- {_scripts => docs/scripts}/lyd/pulse_info.md | 2 +- .../scripts}/lyd/pulse_policy_sink_default.md | 2 +- .../scripts}/lyd/pulse_policy_sink_volume.md | 2 +- .../scripts}/os2borgerpc/anydesk_install.md | 2 +- .../scripts}/os2borgerpc/autostart_program.md | 2 +- .../os2borgerpc/change_user_comment.md | 2 +- .../os2borgerpc/change_user_password.md | 2 +- .../os2borgerpc/cisco_jabber_install_jvdi.md | 2 +- .../citrix_workspace_app_install.md | 2 +- .../citrix_workspace_app_set_default_store.md | 2 +- .../os2borgerpc/copy_shortcut_to_autostart.md | 2 +- .../os2borgerpc/dconf_keyboard_layout.md | 2 +- .../os2borgerpc/dconf_mouse_set_speed.md | 2 +- .../duplicate_monitors_xdotool_test.md | 2 +- .../os2borgerpc/heimdal_install_client.md | 2 +- docs/scripts/os2borgerpc/index.md | 5 + ...l_okular_and_set_as_standard_pdf_reader.md | 2 +- .../os2borgerpc/lightdm_enable_numlock.md | 2 +- .../os2borgerpc/lightdm_fix_boot_error.md | 2 +- .../scripts}/os2borgerpc/logout_user.md | 2 +- .../os2borgerpc/microsoft_intune_install.md | 2 +- .../os2borgerpc/microsoft_teams_install.md | 2 +- .../scripts}/os2borgerpc/reboot_after_time.md | 2 +- .../scripts}/os2borgerpc/rotate_display.md | 2 +- .../switch_between_wayland_and_xorg.md | 2 +- .../teamviewer_quicksupport_install.md | 2 +- .../change_monitor_power_saving.md | 3 +- .../os2borgerpc_kiosk/chromium_autostart.md | 2 +- .../chromium_change_homepage.md | 2 +- .../chromium_delete_profile.md | 2 +- .../chromium_error_reboot.md | 2 +- .../os2borgerpc_kiosk/chromium_install.md | 2 +- .../chromium_kiosk_incognito.md | 2 +- .../chromium_local_storage_add_plyvel.md | 2 +- .../chromium_os2display_activate.md | 3 +- docs/scripts/os2borgerpc_kiosk/index.md | 5 + .../install_and_switch_to_hwe_kernel.md | 2 +- .../kiosk_printer_support.md | 2 +- .../os2borgerpc_kiosk/set_datetime.md | 2 +- .../os2borgerpc_kiosk/sound_enable.md | 2 +- .../suspend-move-mouse-continuously.md | 2 +- .../touchscreen_fix_coordinates_issues.md | 2 +- .../os2borgerpc_kiosk/vnc_and_ssh_install.md | 2 +- .../wm_keyboard_hide_button.md | 2 +- .../os2borgerpc_kiosk/wm_keyboard_install.md | 2 +- .../printer/allow_superuser_to_manage_cups.md | 2 +- .../printer/dconf_print_notifications.md | 2 +- docs/scripts/printer/index.md | 5 + .../printer/network_printer_add_no_ppd.md | 2 +- .../printer/network_printer_add_ppd.md | 2 +- .../scripts}/printer/printer_add_filters.md | 2 +- .../scripts}/printer/printer_brother_add.md | 2 +- .../scripts}/printer/printer_default.md | 2 +- .../scripts}/printer/printer_del.md | 2 +- .../printer/printer_honeywell_pc43d_add.md | 2 +- .../printer_honeywell_pc43d_set_options.md | 2 +- .../scripts}/printer/printer_hp_add.md | 2 +- .../printer/printer_konica_minolta_add.md | 2 +- .../printer_lexmark_install_drivers.md | 2 +- .../scripts}/printer/printer_list.md | 2 +- .../scripts}/printer/printer_options_get.md | 2 +- .../scripts}/printer/printer_options_set.md | 2 +- .../scripts}/printer/printer_princh_add.md | 2 +- .../printer/printer_princh_install.md | 2 +- .../printer_toggle_network_discovery.md | 2 +- .../sikkerhed/adjust_settings_access.md | 2 +- .../sikkerhed/always_logout_after_time.md | 2 +- .../always_logout_after_time_visual.md | 2 +- .../dconf_disable_gnome_remote_desktop.md | 2 +- .../dconf_files_deny_shell_script_running.md | 2 +- .../dconf_gnome_lock_menu_editing.md | 2 +- .../sikkerhed/dconf_run_prompt_toggle.md | 2 +- .../sikkerhed/desktop_persistent_dir.md | 2 +- .../sikkerhed/desktop_toggle_writable.md | 2 +- .../sikkerhed/hard_shutdown_lockdown.md | 2 +- .../sikkerhed/inactivity_logout_after_time.md | 2 +- .../inactivity_suspend_after_time.md | 2 +- docs/scripts/sikkerhed/index.md | 5 + .../scripts}/sikkerhed/lockdown_usb.md | 2 +- .../network_manager_allow_user_changes.md | 2 +- .../polkit_policy_shutdown_suspend.md | 2 +- .../sikkerhed/prevent_crontab_persistence.md | 2 +- .../scripts}/sikkerhed/protect_terminal.md | 2 +- .../sikkerhed/setup_two_factor_superuser.md | 2 +- .../scripts}/sikkerhed/unexpire_user.md | 2 +- .../unexpire_user_superuser_shortcut.md | 2 +- .../scripts}/skanner/dconf_default_scanner.md | 2 +- .../scripts}/skanner/dconf_simple_scan.md | 2 +- .../scripts}/skanner/epsonscan2_install.md | 2 +- .../scripts}/skanner/hp-usb-scanner-setup.md | 2 +- docs/scripts/skanner/index.md | 5 + .../scripts}/skanner/list_scanners.md | 2 +- .../skanner/plustek_linuxaction_install.md | 2 +- .../scripts}/skanner/scans_samba_dir.md | 2 +- .../scripts}/system/apt_periodic_control.md | 2 +- .../scripts}/system/change_computer_name.md | 2 +- .../scripts}/system/change_resolution.md | 2 +- .../system/change_superuser_password.md | 2 +- .../system/clear_sudo_from_auth_log.md | 2 +- .../scripts}/system/computer_temperature.md | 2 +- .../scripts}/system/cursor_hide_inactive.md | 2 +- .../disable_network_connectivity_check.md | 2 +- .../grub_allow_booting_non_default_kernel.md | 2 +- .../system/grub_menu_make_accessible.md | 2 +- .../scripts}/system/grub_set_password.md | 2 +- docs/scripts/system/index.md | 5 + .../scripts}/system/install_bomgar.md | 2 +- .../scripts}/system/install_uninstall_apps.md | 2 +- {_scripts => docs/scripts}/system/ip_wan.md | 2 +- .../scripts}/system/network_connections.md | 2 +- .../scripts}/system/plan_reboot_at_times.md | 2 +- .../scripts}/system/randomize_jobmanager.md | 2 +- .../scripts}/system/reboot_now.md | 2 +- .../system/set_local_time_from_bios.md | 2 +- .../scripts}/system/set_time_htpdate.md | 2 +- .../scripts}/system/shutdown_and_wakeup.md | 2 +- .../scripts}/system/shutdown_at_time.md | 2 +- .../scripts}/system/shutdown_now.md | 2 +- ...temd_disable_suspend_hibernate_switches.md | 2 +- .../scripts}/system/update_all.md | 2 +- .../scripts}/system/upgrade_client.md | 2 +- .../system/upgrade_client_from_testpypi.md | 2 +- {_scripts => docs/scripts}/system/uptime.md | 2 +- ...2_enterprise_wifi_configure_and_connect.md | 2 +- .../scripts}/udfases/chrome_autostart.md | 2 +- .../udfases/dconf_disable_lock_menu.md | 2 +- .../udfases/dconf_disable_user_switching.md | 2 +- .../udfases/desktop_activate_shortcuts.md | 2 +- .../scripts}/udfases/desktop_logout_button.md | 2 +- .../udfases/firefox_set_startpage(s).md | 2 +- .../scripts}/udfases/fix_etc_hosts.md | 2 +- docs/scripts/udfases/index.md | 5 + .../udfases/lightdm_greeter_setup_scripts.md | 2 +- .../udfases/remove_new_release_message.md | 2 +- .../scripts}/udfases/repair_early_upgrade.md | 2 +- .../set_user_as_default_lightdm_user.md | 2 +- .../udfases/upgrade_client_and_settings.md | 2 +- 228 files changed, 1019 insertions(+), 616 deletions(-) create mode 100644 _includes/components/children_nav.html create mode 100644 _includes/translation.html create mode 100644 _layouts/docs.html delete mode 100644 _layouts/script.html delete mode 100644 _pages/home.md create mode 100644 _plugins/read_script_content.rb create mode 100644 _sass/custom/custom.scss delete mode 100644 _scripts/22_04_opgradering/general_lts_upgrade_in_place_step_1.md delete mode 100644 _scripts/22_04_opgradering/general_lts_upgrade_in_place_step_2.md delete mode 100644 _scripts/22_04_opgradering/kiosk_lts_upgrade_in_place_step_3.md delete mode 100644 _scripts/22_04_opgradering/kiosk_lts_upgrade_in_place_step_4.md delete mode 100644 _scripts/22_04_opgradering/os2borgerpc_lts_upgrade_in_place_step_3.md delete mode 100644 _scripts/22_04_opgradering/os2borgerpc_lts_upgrade_in_place_step_4.md delete mode 100644 _scripts/home.md rename {_pages => docs}/dokumentation.md (100%) create mode 100644 docs/scripts/22_04_opgradering/general_lts_upgrade_in_place_step_1.md create mode 100644 docs/scripts/22_04_opgradering/general_lts_upgrade_in_place_step_2.md create mode 100644 docs/scripts/22_04_opgradering/index.md create mode 100644 docs/scripts/22_04_opgradering/kiosk_lts_upgrade_in_place_step_3.md create mode 100644 docs/scripts/22_04_opgradering/kiosk_lts_upgrade_in_place_step_4.md create mode 100644 docs/scripts/22_04_opgradering/os2borgerpc_lts_upgrade_in_place_step_3.md create mode 100644 docs/scripts/22_04_opgradering/os2borgerpc_lts_upgrade_in_place_step_4.md rename {_scripts/os2borgerpc => docs/scripts}/browser/browser_set_default.md (94%) rename {_scripts/os2borgerpc => docs/scripts}/browser/browser_update_launcher.md (86%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_chromium_add_remove_extension.md (89%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_chromium_allow_audio.md (90%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_chromium_guest_mode_enforced.md (93%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_chromium_incognito_enforce.md (94%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_chromium_open_pdfs_in_external_reader.md (91%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_chromium_policy_bookmarks.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_chromium_policy_homepage.md (93%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_chromium_start_maximized_fullscreen_kiosk.md (90%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_disable_post_quantum_key_agreement.md (80%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_fake_user_agent.md (93%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_install.md (88%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_logins_add.md (81%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_logins_fetch.md (82%) rename {_scripts/os2borgerpc => docs/scripts}/browser/chrome_password_manager_access_toggle.md (81%) rename {_scripts/os2borgerpc => docs/scripts}/browser/edge_install.md (86%) rename {_scripts/os2borgerpc => docs/scripts}/browser/firefox_global_policies.md (95%) rename {_scripts/os2borgerpc => docs/scripts}/browser/firefox_start_maximized.md (83%) create mode 100644 docs/scripts/browser/index.md rename {_scripts/os2borgerpc => docs/scripts}/desktop/add_files_to_desktop_directory.md (99%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/copy_monitor_settings_from_superuser_shortcut.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/dconf_a11y.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/dconf_desktop_background.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/dconf_ubuntu_dock_adjust.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/desktop_launcher_logout_button_icon.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/desktop_launcher_program_shortcut.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/desktop_logout_button_icon.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/desktop_print_program_list.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/desktop_program_shortcut.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/desktop_shortcut_to_directory.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/desktop/desktop_url_shortcut.md (98%) create mode 100644 docs/scripts/desktop/index.md rename {_scripts => docs/scripts}/fejlfinding/debug_network.md (94%) rename {_scripts => docs/scripts}/fejlfinding/debug_os2display.md (97%) rename {_scripts => docs/scripts}/fejlfinding/debug_printers.md (92%) rename {_scripts => docs/scripts}/fejlfinding/debug_samba.md (92%) rename {_scripts => docs/scripts}/fejlfinding/debug_samba_test_connection.md (97%) rename {_scripts => docs/scripts}/fejlfinding/debug_scanners.md (93%) rename {_scripts => docs/scripts}/fejlfinding/debug_schedule.md (94%) rename {_scripts => docs/scripts}/fejlfinding/debug_security_events.md (97%) rename {_scripts => docs/scripts}/fejlfinding/debug_security_events_full_logs.md (97%) rename {_scripts => docs/scripts}/fejlfinding/debug_sound.md (93%) rename {_scripts/tools => docs/scripts/fejlfinding}/empty_job_logs.md (96%) rename {_scripts => docs/scripts}/fejlfinding/gather_hardware_info.md (92%) rename {_scripts => docs/scripts}/fejlfinding/heimdal_check_status.md (96%) create mode 100644 docs/scripts/fejlfinding/index.md rename {_scripts => docs/scripts}/fejlfinding/kiosk_general_debug.md (93%) rename {_scripts => docs/scripts}/fejlfinding/list_programs_services.md (94%) rename {_scripts => docs/scripts}/fejlfinding/login_lightdm_debugging.md (94%) rename {_scripts => docs/scripts}/fejlfinding/os2borgerpc_general_debug.md (93%) rename {_scripts/tools => docs/scripts/fejlfinding}/print_intel_driver_info.md (87%) rename {_scripts => docs/scripts}/fejlfinding/verify_access_to_bpc_parameter_storage.md (96%) create mode 100644 docs/scripts/index.md create mode 100644 docs/scripts/libreoffice/index.md rename {_scripts/os2borgerpc => docs/scripts}/libreoffice/overwrite_libreoffice_config.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/login/change_login_timeout.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/login/dconf_change_login_bg.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/login/get_daily_login_count.md (98%) create mode 100644 docs/scripts/login/index.md rename {_scripts/os2borgerpc => docs/scripts}/login/lightdm_hide_desktop_env_select.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/login/lightdm_hide_superuser.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/login/user_automatic_login.md (98%) create mode 100644 docs/scripts/lyd/index.md rename {_scripts => docs/scripts}/lyd/pulse_clear_audio_settings.md (97%) rename {_scripts => docs/scripts}/lyd/pulse_info.md (97%) rename {_scripts => docs/scripts}/lyd/pulse_policy_sink_default.md (98%) rename {_scripts => docs/scripts}/lyd/pulse_policy_sink_volume.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/anydesk_install.md (94%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/autostart_program.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/change_user_comment.md (95%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/change_user_password.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/cisco_jabber_install_jvdi.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/citrix_workspace_app_install.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/citrix_workspace_app_set_default_store.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/copy_shortcut_to_autostart.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/dconf_keyboard_layout.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/dconf_mouse_set_speed.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/duplicate_monitors_xdotool_test.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/heimdal_install_client.md (98%) create mode 100644 docs/scripts/os2borgerpc/index.md rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/install_okular_and_set_as_standard_pdf_reader.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/lightdm_enable_numlock.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/lightdm_fix_boot_error.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/logout_user.md (93%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/microsoft_intune_install.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/microsoft_teams_install.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/reboot_after_time.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/rotate_display.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/switch_between_wayland_and_xorg.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/os2borgerpc/teamviewer_quicksupport_install.md (97%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/change_monitor_power_saving.md (96%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/chromium_autostart.md (97%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/chromium_change_homepage.md (95%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/chromium_delete_profile.md (93%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/chromium_error_reboot.md (97%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/chromium_install.md (92%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/chromium_kiosk_incognito.md (98%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/chromium_local_storage_add_plyvel.md (98%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/chromium_os2display_activate.md (94%) create mode 100644 docs/scripts/os2borgerpc_kiosk/index.md rename {_scripts => docs/scripts}/os2borgerpc_kiosk/install_and_switch_to_hwe_kernel.md (96%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/kiosk_printer_support.md (95%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/set_datetime.md (92%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/sound_enable.md (97%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/suspend-move-mouse-continuously.md (97%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/touchscreen_fix_coordinates_issues.md (98%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/vnc_and_ssh_install.md (94%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/wm_keyboard_hide_button.md (98%) rename {_scripts => docs/scripts}/os2borgerpc_kiosk/wm_keyboard_install.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/printer/allow_superuser_to_manage_cups.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/printer/dconf_print_notifications.md (97%) create mode 100644 docs/scripts/printer/index.md rename {_scripts/os2borgerpc => docs/scripts}/printer/network_printer_add_no_ppd.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/printer/network_printer_add_ppd.md (99%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_add_filters.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_brother_add.md (99%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_default.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_del.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_honeywell_pc43d_add.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_honeywell_pc43d_set_options.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_hp_add.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_konica_minolta_add.md (99%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_lexmark_install_drivers.md (94%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_list.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_options_get.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_options_set.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_princh_add.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_princh_install.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/printer/printer_toggle_network_discovery.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/adjust_settings_access.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/always_logout_after_time.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/always_logout_after_time_visual.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/dconf_disable_gnome_remote_desktop.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/dconf_files_deny_shell_script_running.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/dconf_gnome_lock_menu_editing.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/dconf_run_prompt_toggle.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/desktop_persistent_dir.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/desktop_toggle_writable.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/hard_shutdown_lockdown.md (99%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/inactivity_logout_after_time.md (99%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/inactivity_suspend_after_time.md (99%) create mode 100644 docs/scripts/sikkerhed/index.md rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/lockdown_usb.md (99%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/network_manager_allow_user_changes.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/polkit_policy_shutdown_suspend.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/prevent_crontab_persistence.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/protect_terminal.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/setup_two_factor_superuser.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/unexpire_user.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/sikkerhed/unexpire_user_superuser_shortcut.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/skanner/dconf_default_scanner.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/skanner/dconf_simple_scan.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/skanner/epsonscan2_install.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/skanner/hp-usb-scanner-setup.md (97%) create mode 100644 docs/scripts/skanner/index.md rename {_scripts/os2borgerpc => docs/scripts}/skanner/list_scanners.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/skanner/plustek_linuxaction_install.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/skanner/scans_samba_dir.md (99%) rename {_scripts => docs/scripts}/system/apt_periodic_control.md (99%) rename {_scripts => docs/scripts}/system/change_computer_name.md (97%) rename {_scripts => docs/scripts}/system/change_resolution.md (98%) rename {_scripts => docs/scripts}/system/change_superuser_password.md (97%) rename {_scripts => docs/scripts}/system/clear_sudo_from_auth_log.md (97%) rename {_scripts => docs/scripts}/system/computer_temperature.md (95%) rename {_scripts => docs/scripts}/system/cursor_hide_inactive.md (96%) rename {_scripts => docs/scripts}/system/disable_network_connectivity_check.md (95%) rename {_scripts => docs/scripts}/system/grub_allow_booting_non_default_kernel.md (97%) rename {_scripts => docs/scripts}/system/grub_menu_make_accessible.md (98%) rename {_scripts => docs/scripts}/system/grub_set_password.md (98%) create mode 100644 docs/scripts/system/index.md rename {_scripts => docs/scripts}/system/install_bomgar.md (96%) rename {_scripts => docs/scripts}/system/install_uninstall_apps.md (98%) rename {_scripts => docs/scripts}/system/ip_wan.md (95%) rename {_scripts => docs/scripts}/system/network_connections.md (95%) rename {_scripts => docs/scripts}/system/plan_reboot_at_times.md (98%) rename {_scripts => docs/scripts}/system/randomize_jobmanager.md (98%) rename {_scripts => docs/scripts}/system/reboot_now.md (94%) rename {_scripts => docs/scripts}/system/set_local_time_from_bios.md (94%) rename {_scripts => docs/scripts}/system/set_time_htpdate.md (98%) rename {_scripts => docs/scripts}/system/shutdown_and_wakeup.md (99%) rename {_scripts => docs/scripts}/system/shutdown_at_time.md (98%) rename {_scripts => docs/scripts}/system/shutdown_now.md (96%) rename {_scripts => docs/scripts}/system/systemd_disable_suspend_hibernate_switches.md (98%) rename {_scripts => docs/scripts}/system/update_all.md (97%) rename {_scripts => docs/scripts}/system/upgrade_client.md (96%) rename {_scripts => docs/scripts}/system/upgrade_client_from_testpypi.md (96%) rename {_scripts => docs/scripts}/system/uptime.md (95%) rename {_scripts => docs/scripts}/system/wpa2_enterprise_wifi_configure_and_connect.md (99%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/chrome_autostart.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/dconf_disable_lock_menu.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/dconf_disable_user_switching.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/desktop_activate_shortcuts.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/desktop_logout_button.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/firefox_set_startpage(s).md (98%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/fix_etc_hosts.md (97%) create mode 100644 docs/scripts/udfases/index.md rename {_scripts/os2borgerpc => docs/scripts}/udfases/lightdm_greeter_setup_scripts.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/remove_new_release_message.md (96%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/repair_early_upgrade.md (98%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/set_user_as_default_lightdm_user.md (97%) rename {_scripts/os2borgerpc => docs/scripts}/udfases/upgrade_client_and_settings.md (97%) diff --git a/Gemfile b/Gemfile index 953b4e6..438446c 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,5 @@ source 'https://rubygems.org' gem "jekyll", "~> 4.3.3" # installed by `gem jekyll` # gem "webrick" # required when using Ruby >= 3 and Jekyll <= 4.2.2 -gem "just-the-docs", "0.9.0" # pinned to the current release -# gem "just-the-docs" # always download the latest release +gem "just-the-docs", "0.10.0" # pinned to the current release gem "git" diff --git a/Gemfile.lock b/Gemfile.lock index 4aaf004..e98d858 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -65,7 +65,7 @@ GEM jekyll (>= 3.8, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0) - just-the-docs (0.9.0) + just-the-docs (0.10.0) jekyll (>= 3.8.5) jekyll-include-cache jekyll-seo-tag (>= 2.0) @@ -113,7 +113,7 @@ PLATFORMS DEPENDENCIES git jekyll (~> 4.3.3) - just-the-docs (= 0.9.0) + just-the-docs (= 0.10.0) BUNDLED WITH 2.3.26 diff --git a/_config.yml b/_config.yml index e3563b9..7e35de6 100644 --- a/_config.yml +++ b/_config.yml @@ -1,41 +1,173 @@ title: OS2BorgerPC dokumentationssite -description: Dokumentation af administrationssites, images og scripts. -theme: just-the-docs +description: Dokumentation af administrationssite, images og scripts. +theme: just-the-docs url: https://just-the-docs.github.io aux_links: - Template Repository: https://github.com/just-the-docs/just-the-docs-template - -collections: - pages: - permalink: "/:collection/:path/" - output: true - scripts: - permalink: "/:collection/:path/" - output: true -just_the_docs: - collections: - pages: - name: Sider - nav_fold: false - scripts: - name: Scripts - nav_fold: false - + Intro til OS2BorgerPC: https://os2.eu/os2borgerpc + OS2BorgerPC på Github: https://github.com/OS2borgerPC + +# Makes Aux links open in a new tab. Default is false +aux_links_new_tab: true + +# Enable or disable the side/mobile menu globally +# Nav menu can also be selectively enabled or disabled using page variables or the minimal layout +nav_enabled: true + +# Sort order for navigation links +# nav_sort: case_insensitive # default, equivalent to nil +nav_sort: case_sensitive # Capital letters sorted before lowercase + +# External navigation links +nav_external_links: + - title: Just the Docs on GitHub + url: https://github.com/just-the-docs/just-the-docs + +# Show navigation error report +nav_error_report: true # default is false/nil. + +permalink: pretty + defaults: - # _pages - - scope: - path: "" - type: pages - values: - layout: default - # _scripts - scope: - path: "" - type: scripts + path: "docs" # an empty string here means all files in the project + type: "pages" values: - layout: script + layout: "docs" submodules: - "/assets/os2borgerpc-scripts/" + + +exclude: + # from https://github.com/jekyll/jekyll/blob/master/lib/site_template/_config.yml: + - .sass-cache/ + - .jekyll-cache/ + - gemfiles/ + - Gemfile + - Gemfile.lock + - node_modules/ + - vendor/bundle/ + - vendor/cache/ + - vendor/gems/ + - vendor/ruby/ + # specific to the theme website: + - bin/ + - lib/ + - "*.gemspec" + - "*.gem" + - LICENSE.txt + - package.json + - package-lock.json + - Rakefile + - README.md + - CODE_OF_CONDUCT.md + - docker-compose.yml + - Dockerfile + # theme test code + - fixtures/ + +# Enable or disable the site search +# Supports true (default) or false +search_enabled: true +search: + # Split pages into sections that can be searched individually + # Supports 1 - 6, default: 2 + heading_level: 2 + # Maximum amount of previews per search result + # Default: 3 + previews: 2 + # Maximum amount of words to display before a matched word in the preview + # Default: 5 + preview_words_before: 3 + # Maximum amount of words to display after a matched word in the preview + # Default: 10 + preview_words_after: 3 + # Set the search token separator + # Default: /[\s\-/]+/ + # Example: enable support for hyphenated search words + tokenizer_separator: /[\s/]+/ + # Display the relative url in search results + # Supports true (default) or false + rel_url: true + # Enable or disable the search button that appears in the bottom right corner of every page + # Supports true or false (default) + button: false + # Focus the search input by pressing `ctrl + focus_shortcut_key` (or `cmd + focus_shortcut_key` on macOS) + focus_shortcut_key: "k" + +# For copy button on code +enable_copy_code_button: true + +# By default, consuming the theme as a gem leaves mermaid disabled; it is opt-in +mermaid: + # Version of mermaid library + # Pick an available version from https://cdn.jsdelivr.net/npm/mermaid/ + version: "9.1.6" + # Put any additional configuration, such as setting the theme, in _includes/mermaid_config.js + # See also docs/ui-components/code + # To load mermaid from a local library, also use the `path` key to specify the location of the library; e.g. + # for (v10+): + # path: "/assets/js/mermaid.esm.min.mjs" + # for (MIT license. This site is powered by Netlify.' + +# Footer last edited timestamp +last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter +last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html + +# Footer "Edit this page on GitHub" link text +gh_edit_link: true # show or hide edit this page link +gh_edit_link_text: "Edit this page on GitHub" +gh_edit_repository: "https://github.com/just-the-docs/just-the-docs" # the github URL for your repo +gh_edit_branch: "main" # the branch that your docs is served from +# gh_edit_source: docs # the source that your files originate from +gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately + + + +translations: + checkbox: "Afkrydsningsfelt" + string: "Streng" + integer: "Heltal" + date: "Dato" + password: "Adgangskode" + file: "Fil" + time: "Tid" + + diff --git a/_includes/components/children_nav.html b/_includes/components/children_nav.html new file mode 100644 index 0000000..ecdc348 --- /dev/null +++ b/_includes/components/children_nav.html @@ -0,0 +1,92 @@ +{%- comment -%} + Include as: {%- include components/children_nav.html -%} + Depends on: page, site, nav_breadcrumbs. + Results in: HTML for the children-navigation component. + Includes: components/nav/sorted.html, toc_heading_custom.html. + Overwrites: + nav_ancestor_links, nav_top_node_titles, nav_child_candidates, nav_children, + nav_child, nav_child_ok, nav_child_ancestor, nav_sorted. +{%- endcomment -%} + +{%- comment -%} + Whether a page has any children is checked efficiently by inspecting the cached + site_nav. If the page has no children, nav_children is set to an empty array; + otherwise nav_children is left unset. +{%- endcomment -%} + +{%- if page.has_children == false -%} + {%- assign nav_children = "" | split: "" -%} +{%- else -%} + + {%- assign nav_children = nil -%} + + {%- capture nav_list_link -%} + + {%- endcapture -%} + + {%- capture site_nav -%} + {%- include_cached components/site_nav.html all=true -%} + {%- endcapture -%} + + {%- capture nav_list_simple -%} +