From 81c799839bb0d2f07674d54db4bdb2769162f03a Mon Sep 17 00:00:00 2001 From: Simone Bortolin Date: Tue, 9 Aug 2022 11:45:45 +0200 Subject: add mermaid update image update software versions of f601 add webp support try to run webp Create pages.yml Update ont-Huawei-HG8010H.md Delete .github/workflows directory Update ont-ZTE-F601.md add alias section update clone style Delete ont-huawei-cm5671a.md some update update some thing add 404 icon update 404 --- 404.md | 13 +++- Gemfile | 4 +- _config.yml | 59 ++++++++++++++++- _includes/image.html | 13 +++- _layouts/default.html | 3 + _sass/custom/custom.scss | 5 ++ assets/img/afm0002fwb.jpg | Bin 103304 -> 161606 bytes assets/img/f601_v1.jpg | Bin 31126 -> 0 bytes assets/img/f601_v1_1.jpg | Bin 49232 -> 0 bytes assets/img/f601_v1_2.jpg | Bin 90379 -> 0 bytes assets/img/f601_v1_Teardown_1.jpg | Bin 203111 -> 0 bytes assets/img/f601_v1_Teardown_2.jpg | Bin 272196 -> 0 bytes assets/img/f601_v1_Teardown_3.jpg | Bin 210481 -> 0 bytes assets/img/f601_v2.jpg | Bin 62061 -> 0 bytes assets/img/f601_v2_1.jpg | Bin 65867 -> 0 bytes assets/img/f601_v2_2.jpg | Bin 112646 -> 0 bytes assets/img/f601_v2_Teardown_1.jpg | Bin 170785 -> 0 bytes assets/img/f601_v2_Teardown_2.jpg | Bin 186001 -> 0 bytes assets/img/f601_v2_Teardown_3.jpg | Bin 185520 -> 0 bytes assets/img/f601_v2_Teardown_4.jpg | Bin 446192 -> 0 bytes assets/img/f601_v3.jpg | Bin 22329 -> 0 bytes assets/img/f601_v6_1.jpg | Bin 0 -> 49232 bytes assets/img/f601_v6_2.jpg | Bin 0 -> 90379 bytes assets/img/f601_v6_Teardown_1.jpg | Bin 0 -> 203111 bytes assets/img/f601_v6_Teardown_2.jpg | Bin 0 -> 272196 bytes assets/img/f601_v6_Teardown_3.jpg | Bin 0 -> 210481 bytes assets/img/f601_v7.jpg | Bin 0 -> 62061 bytes assets/img/f601_v7_1.jpg | Bin 0 -> 65867 bytes assets/img/f601_v7_Teardown.jpg | Bin 0 -> 112646 bytes assets/img/f601_v7_Teardown_1.jpg | Bin 0 -> 170785 bytes assets/img/f601_v7_Teardown_2.jpg | Bin 0 -> 186001 bytes assets/img/f601_v7_Teardown_3.jpg | Bin 0 -> 185520 bytes assets/img/f601_v7_Teardown_4.jpg | Bin 0 -> 446192 bytes assets/img/f601_v8.jpg | Bin 0 -> 22329 bytes assets/img/g-010g-q-serial-pinout.jpg | Bin 0 -> 508282 bytes assets/img/g-010g-q-serial-pinout.png | Bin 9744335 -> 0 bytes assets/img/ont-not-found.svg | 71 ++++++++++++++++++++ just-the-docs.gemspec | 3 +- ont-CarlitoxxPro-CPGOS03-0490-v1 copy.md | 6 -- ont-CarlitoxxPro-CPGOS03-0490-v1.md | 6 ++ ont-Hilink-HL23446.md | 3 + ont-Huawei-HG8010H.md | 20 ++++-- ont-Nokia-g-010g-q.md | 2 +- ont-ODI-DFP-34X-C2C.md | 7 -- ont-SourcePhotonics-SPS-34-24T-HP-TDFO.md | 42 +----------- ont-ZTE-F6005.md | 4 +- ont-ZTE-F601.md | 34 ++++++++-- ont-Zyxel-PMG3000-D20B.md | 1 + ont-fs-com-gpon-onu-stick-with-mac.md | 105 +++++++++++++++++++++++++++++- ont-huawei-cm5671a.md | 29 --------- ont-huawei-ma5671a-root.md | 6 ++ ont-huawei-ma5671a.md | 31 +++++++-- ont-nokia-g-s010s-p.md | 2 + 53 files changed, 362 insertions(+), 107 deletions(-) delete mode 100644 assets/img/f601_v1.jpg delete mode 100644 assets/img/f601_v1_1.jpg delete mode 100644 assets/img/f601_v1_2.jpg delete mode 100644 assets/img/f601_v1_Teardown_1.jpg delete mode 100644 assets/img/f601_v1_Teardown_2.jpg delete mode 100644 assets/img/f601_v1_Teardown_3.jpg delete mode 100644 assets/img/f601_v2.jpg delete mode 100644 assets/img/f601_v2_1.jpg delete mode 100644 assets/img/f601_v2_2.jpg delete mode 100644 assets/img/f601_v2_Teardown_1.jpg delete mode 100644 assets/img/f601_v2_Teardown_2.jpg delete mode 100644 assets/img/f601_v2_Teardown_3.jpg delete mode 100644 assets/img/f601_v2_Teardown_4.jpg delete mode 100644 assets/img/f601_v3.jpg create mode 100644 assets/img/f601_v6_1.jpg create mode 100644 assets/img/f601_v6_2.jpg create mode 100644 assets/img/f601_v6_Teardown_1.jpg create mode 100644 assets/img/f601_v6_Teardown_2.jpg create mode 100644 assets/img/f601_v6_Teardown_3.jpg create mode 100644 assets/img/f601_v7.jpg create mode 100644 assets/img/f601_v7_1.jpg create mode 100644 assets/img/f601_v7_Teardown.jpg create mode 100644 assets/img/f601_v7_Teardown_1.jpg create mode 100644 assets/img/f601_v7_Teardown_2.jpg create mode 100644 assets/img/f601_v7_Teardown_3.jpg create mode 100644 assets/img/f601_v7_Teardown_4.jpg create mode 100644 assets/img/f601_v8.jpg create mode 100644 assets/img/g-010g-q-serial-pinout.jpg delete mode 100644 assets/img/g-010g-q-serial-pinout.png create mode 100644 assets/img/ont-not-found.svg delete mode 100644 ont-CarlitoxxPro-CPGOS03-0490-v1 copy.md create mode 100644 ont-CarlitoxxPro-CPGOS03-0490-v1.md delete mode 100644 ont-ODI-DFP-34X-C2C.md delete mode 100644 ont-huawei-cm5671a.md diff --git a/404.md b/404.md index 51ec26c..e8be9b6 100644 --- a/404.md +++ b/404.md @@ -8,4 +8,15 @@ description: Opps. The page you are looking for got lost. --- -

The page you requested could not be found. Try using the navigation {% if site.search_enabled != false %}or search {% endif %}to find what you're looking for or go to this site's home page.

+

Those are not the ONT you are looking for. Try using the navigation {% if site.search_enabled != false %}or search {% endif %}to find what you're looking for or go to this site's home page.

+ +
+ + + + + + + + +
\ No newline at end of file diff --git a/Gemfile b/Gemfile index a25f480..40b2909 100644 --- a/Gemfile +++ b/Gemfile @@ -3,4 +3,6 @@ gemspec gem "webrick" gem "jekyll-last-modified-at" -gem "jekyll-redirect-from" \ No newline at end of file +gem "jekyll-redirect-from" +gem "jekyll-webp" +gem "jekyll-remote-theme" \ No newline at end of file diff --git a/_config.yml b/_config.yml index 5bbf58c..f015238 100644 --- a/_config.yml +++ b/_config.yml @@ -57,4 +57,61 @@ gh_owner_name: hack-gpon gh_repository_name: hack-gpon.github.io whitelist: - - jekyll-redirect-from \ No newline at end of file + - jekyll-redirect-from + +mermaid_enabled: true +mermaid: + # Version of mermaid library + # Pick an available version from https://cdn.jsdelivr.net/npm/mermaid/ + version: "9.1.3" + # Configured theme of mermaid diagrams + # Pick an avaiable theme from https://mermaid-js.github.io/mermaid/#/theming + theme: "default" + # Additional configuration available matching pattern as defined in https://mermaid-js.github.io/mermaid/#/./Setup. + # For example, + # logLevel: 'fatal', + # sequence: + # diagramMarginX: 50 + # actorMargin: 50 + # gantt: + # barGap: 4 + # topPadding: 50 + +############################################################ +# Site configuration for the WebP Generator Plugin +# The values here represent the defaults if nothing is set +webp: + enabled: true + + # The quality of the webp conversion 0 to 100 (where 100 is least lossy) + quality: 80 + + # List of directories containing images to optimize, nested directories will only be checked if `nested` is true + # By default the generator will search for a folder called `/img` under the site root and process all jpg, png and tiff image files found there. + img_dir: ["/img","/assets/img/"] + + # Whether to search in nested directories or not + nested: false + + # add ".gif" to the format list to generate webp for animated gifs as well + formats: [".jpeg", ".jpg", ".png", ".tiff"] + + # File extensions for animated gif files + gifs: [".gif"] + + # Set to true to always regenerate existing webp files + regenerate: false + + # Local path to the WebP utilities to use (relative or absolute) + # Omit or leave as nil to use the utilities shipped with the gem, override only to use your local install + # Eg : "/usr/local/bin/cwebp" + webp_path: nil + + # List of files or directories to exclude + # e.g. custom or hand generated webp conversion files + exclude: [] + + # append '.webp' to filename after original extension rather than replacing it. + # Default transforms `image.png` to `image.webp`, while changing to true transforms `image.png` to `image.png.webp` + append_ext: false +############################################################ \ No newline at end of file diff --git a/_includes/image.html b/_includes/image.html index 6389d3a..19149b3 100644 --- a/_includes/image.html +++ b/_includes/image.html @@ -1 +1,12 @@ -
{% if {{include.url}} %}{% endif %}{{include.alt}}{% if {{include.url}} %}{% endif %}{% if {{include.caption}} %}
{{include.caption}}
{% endif %}
+
+ {% if {{include.url}} %} + + {% endif %} + + {{include.alt}} + {% if {{include.url}} %}{% endif %}{% if {{include.caption}} %} +
+ {{include.caption}} +
+ {% endif %} +
diff --git a/_layouts/default.html b/_layouts/default.html index 0e1273a..cd4cfbb 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -149,6 +149,9 @@ layout: table_wrappers {% endif %}

{{ page.title | default: site.title | default: site.github.repository_name }}

+ {% if page.alias %} +

Also sold as: {{ page.alias }}

+ {% endif %} {% if site.last_edit_timestamp_script == true %}