From b3385e02b3a7cf9a66dec7a78a62648b8acd4ed6 Mon Sep 17 00:00:00 2001 From: Michiel Sikma Date: Mon, 24 Feb 2020 02:36:49 +0100 Subject: [PATCH] Update docs - fix menu links --- docs/index.html | 4 ++-- docs/overview/dex-gen7.html | 6 +++--- docs/overview/dex-gen8-new.html | 6 +++--- docs/overview/dex-gen8.html | 6 +++--- docs/overview/inventory.html | 6 +++--- scripts/gen_docs.py | 10 +++++----- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/index.html b/docs/index.html index a8ccae92..75486988 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,7 +6,7 @@ PokéSprite - Index @@ -18,7 +18,7 @@

Shiny VenusaurPokéSprite

Database project of box and inventory sprites from the Pokémon core series games

- +

See the project page on Github for more information.

Legacy images

diff --git a/docs/overview/dex-gen7.html b/docs/overview/dex-gen7.html index d6046299..4b00a416 100644 --- a/docs/overview/dex-gen7.html +++ b/docs/overview/dex-gen7.html @@ -6,7 +6,7 @@ PokéSprite - Gen 7 @@ -18,7 +18,7 @@

Shiny VenusaurPokéSprite

Database project of box and inventory sprites from the Pokémon core series games

- +

This table lists all Pokémon box sprites for Gen 7, which can be found in the pokemon-gen7x directory. The list is up-to-date as of Pokémon Sword/Shield, and some of the sprites are from an earlier generation. All shiny sprites were custom-made and are not found in-game.

All box sprites are 68×56 as of Gen 8; the old Gen 7 sprites have been updated to the new size and contrast. (The original 40×30 sprites from Gen 7 are still available in the legacy sprites directory.)

@@ -31,7 +31,7 @@
- + diff --git a/docs/overview/dex-gen8-new.html b/docs/overview/dex-gen8-new.html index abf7acb1..8dce9e2d 100644 --- a/docs/overview/dex-gen8-new.html +++ b/docs/overview/dex-gen8-new.html @@ -6,7 +6,7 @@ PokéSprite - Gen 8 (new sprites only) @@ -18,7 +18,7 @@

Shiny VenusaurPokéSprite

Database project of box and inventory sprites from the Pokémon core series games

- +

This table lists all Pokémon box sprites for Gen 8 (new sprites only), which can be found in the pokemon-gen8 directory. The list is up-to-date as of Pokémon Sword/Shield, and some of the sprites are from an earlier generation. All shiny sprites were custom-made and are not found in-game.

All box sprites are 68×56 as of Gen 8; the old Gen 7 sprites have been updated to the new size and contrast. (The original 40×30 sprites from Gen 7 are still available in the legacy sprites directory.)

@@ -31,7 +31,7 @@
Gen 7 sprite overview table
pokesprite-images v2.0.0 master-299 [c82022bf]
Gen 7 sprite overview table
pokesprite-images v2.0.0 master-300 [bcf2b039]
#DexName名前/ローマ字SpritesFormSlug
- + diff --git a/docs/overview/dex-gen8.html b/docs/overview/dex-gen8.html index 9a773254..c5fa246e 100644 --- a/docs/overview/dex-gen8.html +++ b/docs/overview/dex-gen8.html @@ -6,7 +6,7 @@ PokéSprite - Gen 8 @@ -18,7 +18,7 @@

Shiny VenusaurPokéSprite

Database project of box and inventory sprites from the Pokémon core series games

- +

This table lists all Pokémon box sprites for Gen 8, which can be found in the pokemon-gen8 directory. The list is up-to-date as of Pokémon Sword/Shield, and some of the sprites are from an earlier generation. All shiny sprites were custom-made and are not found in-game.

All box sprites are 68×56 as of Gen 8; the old Gen 7 sprites have been updated to the new size and contrast. (The original 40×30 sprites from Gen 7 are still available in the legacy sprites directory.)

@@ -31,7 +31,7 @@
Gen 8 sprite overview table (new sprites only)
pokesprite-images v2.0.0 master-299 [c82022bf]
Gen 8 sprite overview table (new sprites only)
pokesprite-images v2.0.0 master-300 [bcf2b039]
#DexName名前/ローマ字SpritesFormSlug
- + diff --git a/docs/overview/inventory.html b/docs/overview/inventory.html index 27e616a1..2365b4b8 100644 --- a/docs/overview/inventory.html +++ b/docs/overview/inventory.html @@ -6,7 +6,7 @@ PokéSprite - Gen None @@ -18,7 +18,7 @@

Shiny VenusaurPokéSprite

Database project of box and inventory sprites from the Pokémon core series games

- +

This table lists all inventory item sprites. These items are from the last several games and is up-to-date as of Pokémon Sword/Shield. The sprites are from Gen 3 through 8.

All sprites are 32×32 in size. There are sets of sprites: one with a Sword/Shield style white outline around the sprites, and one without (as all previous games). Both sets contain the same number of sprites.

@@ -27,7 +27,7 @@
Gen 8 sprite overview table
pokesprite-images v2.0.0 master-299 [c82022bf]
Gen 8 sprite overview table
pokesprite-images v2.0.0 master-300 [bcf2b039]
#DexName名前/ローマ字SpritesFormSlug
- + diff --git a/scripts/gen_docs.py b/scripts/gen_docs.py index 849f7bd6..d4a4b491 100755 --- a/scripts/gen_docs.py +++ b/scripts/gen_docs.py @@ -137,10 +137,10 @@ def wrap_docs_page(table_content, gen, gen_dir, curr_page, json_file, is_items_p def get_menu_links(curr_page): menu = [ ['index', 'Index'], - ['dex-gen7', 'Gen 7'], - ['dex-gen8', 'Gen 8'], - ['dex-gen8-new', 'Gen 8 (New sprites)'], - ['inventory', 'Inventory'] + ['overview/dex-gen7', 'Gen 7'], + ['overview/dex-gen8', 'Gen 8'], + ['overview/dex-gen8-new', 'Gen 8 (New sprites)'], + ['overview/inventory', 'Inventory'] ] menu_links = ['
  • %s
  • ' % (docs_url(item[0]), 'curr' if item[0] == curr_page else '', item[1]) for item in menu] return ''.join(menu_links) @@ -183,7 +183,7 @@ def write_file(filename, content): print(content, file=file) def docs_url(slug): - return f'{DOCS_BASE_URL}/overview/{slug}.html' + return f'{DOCS_BASE_URL}/{slug}.html' def read_repo_state(): '''Returns information about the current state of the repository'''
    Inventory sprite overview table
    pokesprite-images v2.0.0 master-299 [c82022bf]
    Inventory sprite overview table
    pokesprite-images v2.0.0 master-300 [bcf2b039]
    #Item IDNameSpritesGroupFilename