Deploying to gh-pages from @ hacks-guide/Guide_3DS@f89b684613 🚀
This commit is contained in:
parent
e37c1b0c15
commit
b80e96090e
2 changed files with 26 additions and 1 deletions
25
clean_translations.py
Normal file
25
clean_translations.py
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
files_in_main = []
|
||||||
|
files_in_main_include = []
|
||||||
|
|
||||||
|
|
||||||
|
for i in os.listdir("_pages/en_US/"):
|
||||||
|
files_in_main.append(i)
|
||||||
|
|
||||||
|
for i in os.listdir("_pages/en_US/include"):
|
||||||
|
files_in_main_include.append(i)
|
||||||
|
|
||||||
|
for i in os.listdir("_pages/"):
|
||||||
|
if i == "en_US":
|
||||||
|
continue
|
||||||
|
for j in os.listdir(f"_pages/{i}"):
|
||||||
|
if j == "include":
|
||||||
|
for k in os.listdir(f"_pages/{i}/include"):
|
||||||
|
if k not in files_in_main_include:
|
||||||
|
print(f"Deleting _pages/{i}/include/{k}")
|
||||||
|
os.remove(f"_pages/{i}/include/{k}")
|
||||||
|
elif j not in files_in_main:
|
||||||
|
print(f"Deleting _pages/{i}/{j}")
|
||||||
|
os.remove(f"_pages/{i}/{j}")
|
2
feed.xml
2
feed.xml
|
@ -1 +1 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="https://3ds.hacks.guide/feed.xml" rel="self" type="application/atom+xml" /><link href="https://3ds.hacks.guide/" rel="alternate" type="text/html" /><updated>2023-09-30T16:54:42+00:00</updated><id>https://3ds.hacks.guide/feed.xml</id><title type="html">3DS Hacks Guide</title><subtitle>A complete guide to 3DS custom firmware</subtitle><author><name>Nintendo Homebrew</name></author></feed>
|
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="https://3ds.hacks.guide/feed.xml" rel="self" type="application/atom+xml" /><link href="https://3ds.hacks.guide/" rel="alternate" type="text/html" /><updated>2023-10-01T04:55:48+00:00</updated><id>https://3ds.hacks.guide/feed.xml</id><title type="html">3DS Hacks Guide</title><subtitle>A complete guide to 3DS custom firmware</subtitle><author><name>Nintendo Homebrew</name></author></feed>
|
Loading…
Reference in a new issue