From cbb57aad8e9abfcef2bd8d166d7d8d2ed26fe6a1 Mon Sep 17 00:00:00 2001 From: Takamitsu Endo Date: Mon, 19 Dec 2022 12:28:35 +0900 Subject: [PATCH] Update manual --- docs/_config.yml | 4 +- docs/build.py | 13 +- docs/manual/BasicLimiter/BasicLimiter.json | 22 +++- docs/manual/BasicLimiter/BasicLimiter_en.html | 112 +++++++++++++--- docs/manual/BasicLimiter/BasicLimiter_en.md | 20 ++- docs/manual/BasicLimiter/BasicLimiter_ja.html | 122 ++++++++++++++---- docs/manual/BasicLimiter/BasicLimiter_ja.md | 20 ++- docs/manual/ClangSynth/ClangSynth.json | 22 +++- docs/manual/ClangSynth/ClangSynth_en.html | 112 +++++++++++++--- docs/manual/ClangSynth/ClangSynth_en.md | 20 ++- docs/manual/ClangSynth/ClangSynth_ja.html | 122 ++++++++++++++---- docs/manual/ClangSynth/ClangSynth_ja.md | 20 ++- .../CollidingCombSynth.json | 11 +- .../CollidingCombSynth_en.html | 93 ++++++++++--- .../CollidingCombSynth_en.md | 14 +- .../CollidingCombSynth_ja.html | 101 +++++++++++---- .../CollidingCombSynth_ja.md | 14 +- docs/manual/CubicPadSynth/CubicPadSynth.json | 15 ++- .../CubicPadSynth/CubicPadSynth_en.html | 100 +++++++++++--- docs/manual/CubicPadSynth/CubicPadSynth_en.md | 17 +-- .../CubicPadSynth/CubicPadSynth_ja.html | 111 ++++++++++++---- docs/manual/CubicPadSynth/CubicPadSynth_ja.md | 17 +-- docs/manual/EnvelopedSine/EnvelopedSine.json | 15 ++- .../EnvelopedSine/EnvelopedSine_en.html | 100 +++++++++++--- docs/manual/EnvelopedSine/EnvelopedSine_en.md | 17 +-- .../EnvelopedSine/EnvelopedSine_ja.html | 111 ++++++++++++---- docs/manual/EnvelopedSine/EnvelopedSine_ja.md | 17 +-- docs/manual/EsPhaser/EsPhaser.json | 15 ++- docs/manual/EsPhaser/EsPhaser_en.html | 100 +++++++++++--- docs/manual/EsPhaser/EsPhaser_en.md | 17 +-- docs/manual/EsPhaser/EsPhaser_ja.html | 111 ++++++++++++---- docs/manual/EsPhaser/EsPhaser_ja.md | 17 +-- docs/manual/FDN64Reverb/FDN64Reverb.json | 11 +- docs/manual/FDN64Reverb/FDN64Reverb_en.html | 91 ++++++++++--- docs/manual/FDN64Reverb/FDN64Reverb_en.md | 14 +- docs/manual/FDN64Reverb/FDN64Reverb_ja.html | 101 +++++++++++---- docs/manual/FDN64Reverb/FDN64Reverb_ja.md | 14 +- docs/manual/FDNCymbal/FDNCymbal.json | 11 +- docs/manual/FDNCymbal/FDNCymbal_en.html | 91 ++++++++++--- docs/manual/FDNCymbal/FDNCymbal_en.md | 14 +- docs/manual/FDNCymbal/FDNCymbal_ja.html | 101 +++++++++++---- docs/manual/FDNCymbal/FDNCymbal_ja.md | 14 +- .../IterativeSinCluster.json | 15 ++- .../IterativeSinCluster_en.html | 102 ++++++++++++--- .../IterativeSinCluster_en.md | 17 +-- .../IterativeSinCluster_ja.html | 111 ++++++++++++---- .../IterativeSinCluster_ja.md | 17 +-- docs/manual/L4Reverb/L4Reverb.json | 22 +++- docs/manual/L4Reverb/L4Reverb_en.html | 112 +++++++++++++--- docs/manual/L4Reverb/L4Reverb_en.md | 20 ++- docs/manual/L4Reverb/L4Reverb_ja.html | 122 ++++++++++++++---- docs/manual/L4Reverb/L4Reverb_ja.md | 20 ++- docs/manual/LatticeReverb/LatticeReverb.json | 11 +- .../LatticeReverb/LatticeReverb_en.html | 91 ++++++++++--- docs/manual/LatticeReverb/LatticeReverb_en.md | 14 +- .../LatticeReverb/LatticeReverb_ja.html | 101 +++++++++++---- docs/manual/LatticeReverb/LatticeReverb_ja.md | 14 +- docs/manual/LightPadSynth/LightPadSynth.json | 11 +- .../LightPadSynth/LightPadSynth_en.html | 91 ++++++++++--- docs/manual/LightPadSynth/LightPadSynth_en.md | 14 +- .../LightPadSynth/LightPadSynth_ja.html | 93 +++++++++---- docs/manual/LightPadSynth/LightPadSynth_ja.md | 14 +- docs/manual/MaybeSnare/MaybeSnare.json | 11 +- docs/manual/MaybeSnare/MaybeSnare_en.html | 91 ++++++++++--- docs/manual/MaybeSnare/MaybeSnare_en.md | 14 +- docs/manual/MaybeSnare/MaybeSnare_ja.html | 101 +++++++++++---- docs/manual/MaybeSnare/MaybeSnare_ja.md | 14 +- docs/manual/MembraneSynth/MembraneSynth.json | 11 +- .../MembraneSynth/MembraneSynth_en.html | 91 ++++++++++--- docs/manual/MembraneSynth/MembraneSynth_en.md | 14 +- .../MembraneSynth/MembraneSynth_ja.html | 101 +++++++++++---- docs/manual/MembraneSynth/MembraneSynth_ja.md | 14 +- docs/manual/MiniCliffEQ/MiniCliffEQ.json | 11 +- docs/manual/MiniCliffEQ/MiniCliffEQ_en.html | 91 ++++++++++--- docs/manual/MiniCliffEQ/MiniCliffEQ_en.md | 14 +- docs/manual/MiniCliffEQ/MiniCliffEQ_ja.html | 101 +++++++++++---- docs/manual/MiniCliffEQ/MiniCliffEQ_ja.md | 14 +- docs/manual/ParallelComb/ParallelComb.json | 11 +- docs/manual/ParallelComb/ParallelComb_en.html | 91 ++++++++++--- docs/manual/ParallelComb/ParallelComb_en.md | 14 +- docs/manual/ParallelComb/ParallelComb_ja.html | 101 +++++++++++---- docs/manual/ParallelComb/ParallelComb_ja.md | 14 +- .../PitchShiftDelay/PitchShiftDelay.json | 11 +- .../PitchShiftDelay/PitchShiftDelay_en.html | 91 ++++++++++--- .../PitchShiftDelay/PitchShiftDelay_en.md | 14 +- .../PitchShiftDelay/PitchShiftDelay_ja.html | 101 +++++++++++---- .../PitchShiftDelay/PitchShiftDelay_ja.md | 14 +- docs/manual/SevenDelay/SevenDelay.json | 11 +- docs/manual/SevenDelay/SevenDelay_en.html | 91 ++++++++++--- docs/manual/SevenDelay/SevenDelay_en.md | 14 +- docs/manual/SevenDelay/SevenDelay_ja.html | 101 +++++++++++---- docs/manual/SevenDelay/SevenDelay_ja.md | 14 +- docs/manual/SyncSawSynth/SyncSawSynth.json | 11 +- docs/manual/SyncSawSynth/SyncSawSynth_en.html | 91 ++++++++++--- docs/manual/SyncSawSynth/SyncSawSynth_en.md | 14 +- docs/manual/SyncSawSynth/SyncSawSynth_ja.html | 101 +++++++++++---- docs/manual/SyncSawSynth/SyncSawSynth_ja.md | 14 +- .../manual/TrapezoidSynth/TrapezoidSynth.json | 11 +- .../TrapezoidSynth/TrapezoidSynth_en.html | 91 ++++++++++--- .../TrapezoidSynth/TrapezoidSynth_en.md | 14 +- .../TrapezoidSynth/TrapezoidSynth_ja.html | 101 +++++++++++---- .../TrapezoidSynth/TrapezoidSynth_ja.md | 14 +- docs/manual/UltraSynth/UltraSynth.json | 11 +- docs/manual/UltraSynth/UltraSynth_en.html | 94 +++++++++++--- docs/manual/UltraSynth/UltraSynth_en.md | 14 +- docs/manual/UltraSynth/UltraSynth_ja.html | 104 +++++++++++---- docs/manual/UltraSynth/UltraSynth_ja.md | 14 +- .../UltrasonicRingMod/UltrasonicRingMod.json | 11 +- .../UltrasonicRingMod_en.html | 91 ++++++++++--- .../UltrasonicRingMod/UltrasonicRingMod_en.md | 14 +- .../UltrasonicRingMod_ja.html | 101 +++++++++++---- .../UltrasonicRingMod/UltrasonicRingMod_ja.md | 14 +- docs/manual/WaveCymbal/WaveCymbal.json | 11 +- docs/manual/WaveCymbal/WaveCymbal_en.html | 91 ++++++++++--- docs/manual/WaveCymbal/WaveCymbal_en.md | 14 +- docs/manual/WaveCymbal/WaveCymbal_ja.html | 101 +++++++++++---- docs/manual/WaveCymbal/WaveCymbal_ja.md | 14 +- .../contact_installation_guiconfig_en.md | 27 +++- .../contact_installation_guiconfig_ja.md | 30 ++++- docs/manual/common/macos_warning_en.md | 1 - docs/manual/common/macos_warning_ja.md | 1 - docs/manual/common/package_en.md | 9 ++ docs/manual/common/package_ja.md | 9 ++ docs/rewrite/rewrite.py | 8 +- 124 files changed, 4265 insertions(+), 1463 deletions(-) delete mode 100644 docs/manual/common/macos_warning_en.md delete mode 100644 docs/manual/common/macos_warning_ja.md create mode 100644 docs/manual/common/package_en.md create mode 100644 docs/manual/common/package_ja.md diff --git a/docs/_config.yml b/docs/_config.yml index d944b665..48d8caa1 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -56,6 +56,6 @@ exclude: - manual/common/gui_common_ja.md - manual/common/gui_knob_en.md - manual/common/gui_knob_ja.md -- manual/common/macos_warning_en.md -- manual/common/macos_warning_ja.md +- manual/common/package_en.md +- manual/common/package_ja.md - rewrite/README.md diff --git a/docs/build.py b/docs/build.py index a9e28103..cc831710 100644 --- a/docs/build.py +++ b/docs/build.py @@ -15,7 +15,7 @@ def load(name, lang): return text names = [ - "macos_warning", + "package", "contact_installation_guiconfig", "gui_common", "gui_barbox", @@ -33,6 +33,9 @@ def extractVersion(url): mt = re.search(r"(\d+\.\d+\.\d+)\.zip", url) return mt.groups()[0] +def insertString(source, index, substitute): + return f"{source[:index]}{substitute}{source[:index]}" + def loadManualJson(manual_dir, dest): manual = manual_dir.name with open(manual_dir / Path(f"{manual}.json"), "r", encoding="utf-8") as fi: @@ -51,7 +54,13 @@ def loadManualJson(manual_dir, dest): } for plugin, src in full_data.items(): dest[manual]["latest_version"][plugin] = src["latest_version"] - dest[manual]["latest_download_url"][plugin] = src["urls"]["plugin_url"][0] + + plugin_url = src["urls"]["plugin_url"][0] + dest[manual]["latest_download_url"][plugin] = { + "full": plugin_url, + "macOS": insertString(plugin_url, plugin_url.rfind(".zip"), "_macOS"), + } + dest[manual]["preset_download_url"][plugin] = src["urls"]["preset_url"] dest[manual]["old_download_link"][plugin] = [{ diff --git a/docs/manual/BasicLimiter/BasicLimiter.json b/docs/manual/BasicLimiter/BasicLimiter.json index 67238555..e07d2b3f 100644 --- a/docs/manual/BasicLimiter/BasicLimiter.json +++ b/docs/manual/BasicLimiter/BasicLimiter.json @@ -1,8 +1,9 @@ { "BasicLimiter": { - "latest_version": "0.1.11", + "latest_version": "0.1.12", "urls": { "plugin_url": [ + "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.50.0/BasicLimiter_0.1.12.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.46.0/BasicLimiter_0.1.11.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.45.0/BasicLimiter_0.1.10.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.37.0/BasicLimiter_0.1.9.zip", @@ -15,6 +16,14 @@ "preset_url": "https://github.com/ryukau/VSTPlugins/releases/download/BasicLimiterAndFDN64Reverb/BasicLimiterPresets.zip" }, "changelog": { + "0.1.12": { + "en": [ + "Added to `virtual` to destructor of common components. This may prevent some cause of crash or memory leak." + ], + "ja": [ + "クラッシュやメモリリークを防ぐため、共通コンポーネントのデストラクタに `virtual` を追加。" + ] + }, "0.1.11": { "en": [ "Updated VST 3 SDK to version 3.7.6. This also fixes the crash when opening multiple GUI of same plugin on Linux." @@ -92,9 +101,10 @@ } }, "BasicLimiterAutoMake": { - "latest_version": "0.1.11", + "latest_version": "0.1.12", "urls": { "plugin_url": [ + "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.50.0/BasicLimiterAutoMake_0.1.12.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.46.0/BasicLimiterAutoMake_0.1.11.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.45.0/BasicLimiterAutoMake_0.1.10.zip", "https://github.com/ryukau/VSTPlugins/releases/download/UhhyouPlugins0.37.0/BasicLimiterAutoMake_0.1.9.zip", @@ -106,6 +116,14 @@ "preset_url": "" }, "changelog": { + "0.1.12": { + "en": [ + "Added to `virtual` to destructor of common components. This may prevent some cause of crash or memory leak." + ], + "ja": [ + "クラッシュやメモリリークを防ぐため、共通コンポーネントのデストラクタに `virtual` を追加。" + ] + }, "0.1.11": { "en": [ "Updated VST 3 SDK to version 3.7.6. This also fixes the crash when opening multiple GUI of same plugin on Linux." diff --git a/docs/manual/BasicLimiter/BasicLimiter_en.html b/docs/manual/BasicLimiter/BasicLimiter_en.html index 5a433233..a39256da 100644 --- a/docs/manual/BasicLimiter/BasicLimiter_en.html +++ b/docs/manual/BasicLimiter/BasicLimiter_en.html @@ -5,7 +5,7 @@ - + BasicLimiter_en