gb-asm-tutorial-old
所属分类:文章/文档
开发工具:HTML
文件大小:357KB
下载次数:0
上传日期:2021-06-29 06:26:03
上 传 者:
sh-1993
说明: 在线Game Boy组装编程教程
(An online Game Boy assembly programming tutorial)
文件列表:
.vscode (0, 2021-06-29)
.vscode\tasks.json (644, 2021-06-29)
build.py (10522, 2021-06-29)
docs (0, 2021-06-29)
docs\404.html (7557, 2021-06-29)
docs\arithmetics.html (19261, 2021-06-29)
docs\basics.html (8700, 2021-06-29)
docs\calling.html (11479, 2021-06-29)
docs\concepts.html (21390, 2021-06-29)
docs\css (0, 2021-06-29)
docs\css\common.css (4990, 2021-06-29)
docs\css\normalize.css (6052, 2021-06-29)
docs\data_manip.html (13669, 2021-06-29)
docs\displaying.html (15788, 2021-06-29)
docs\extras.html (7718, 2021-06-29)
docs\flags.html (13542, 2021-06-29)
docs\hello-world.html (19996, 2021-06-29)
docs\img (0, 2021-06-29)
docs\img\cloud_tilemap.png (5219, 2021-06-29)
docs\img\cloud_tiles.png (7049, 2021-06-29)
docs\img\favicon.ico (766, 2021-06-29)
docs\img\favicon.png (13946, 2021-06-29)
docs\img\hello-world.png (3393, 2021-06-29)
docs\img\icon.png (1086, 2021-06-29)
docs\img\robbi_discord_screenshot.png (146361, 2021-06-29)
docs\index.html (11607, 2021-06-29)
docs\instructions.html (9854, 2021-06-29)
docs\interlude.html (12169, 2021-06-29)
docs\intermediate.html (8229, 2021-06-29)
docs\interrupts.html (15797, 2021-06-29)
docs\introduction.html (9636, 2021-06-29)
docs\it (0, 2021-06-29)
docs\it\404.html (7582, 2021-06-29)
docs\it\arithmetics.html (7878, 2021-06-29)
docs\it\basics.html (7810, 2021-06-29)
docs\it\calling.html (7843, 2021-06-29)
docs\it\concepts.html (7847, 2021-06-29)
docs\it\data_manip.html (7764, 2021-06-29)
... ...
# gb-asm-tutorial
An online Game Boy assembly programming tutorial, **formerly** hosted at https://eldred.fr/gb-asm-tutorial.
This tutorial has been obsoleted by [the v2](https://github.com/ISSOtm/gb-asm-tutorial); this is only kept for archival purposes, and **will not be updated anymore**.
## Structure
The `docs` folder is what is served publicly. (Note: GitHub Pages only considers the `master` branch's `docs` folder.)
The `src` folder contains all "source" HTML files, sorted by language. (This hierarchy is **not** preserved in the `docs` folder due to historical reasons). Each of those files contains a page's "main content" (ie. not the navigation, header, etc. HTML; this is taken care of by the build script)
Files in the root of the repo are for converting the pages only (plus this README for obvious reasons).
## Building
To convert files from the `src` folder to `docs`, run `build.py`. Python 3 is required.
### Missing pages
If a page isn't present in a given language, a fallback will be generated offering to read it in another language. This is intended for pages that haven't been translated yet.
## `properties.json`
This file is read by `build.py` to determine what pages to convert.
### `structure` attribute
Each element MUST contain a `leaf` boolean attribute. If that attribute is `true`, then it is a leaf; otherwise it's not.
A leaf MUST contain the following attributes:
id
- The page's ID; `.html` is appended to it to get the source and destination HTML page
title
- The page's displayed name
A non-leaf MUST contain the following attributes:
index
- The ID of the page that serves as the subtree/section's index
subpages
- The list of subpages that this section contains. May contain non-leaves.
A non-leaf MAY contain the following attributes:
special_pages
- A list of subpages that should not be present in the tree, but still be generated nonetheless.
近期下载者:
相关文件:
收藏者: