Skip to content
 
 

Repository files navigation

Codename Engine Website - Wiki Reformat Branch!

Welcome to the Wiki Reformat branch! This is attempting to consolidate information on current CodenameEngine features, and streamline the introduction modding process.

To help Contribute, make a Fork and go ham!

Please note; when making very short codeblocks, to attempt to use <div> to cut the codeblock short, or center it to make it look pretty and easier to read. Example (excuse the Indent, it looks wonky otherwise!!):

<div style="display: grid; justify-content: left;">
<!-- Required to have a newline here! Or it explodes, trust me. -->

```haxe
import hxvlc.util.Handle;

function new() {
	Handle.init();
}
	```
</div>
<!-- No extra newline at the end though... we love Markdown! -->

Now; we return to your regularly scheduled CodenameEngine Readme

To contribute to this wiki's pages, please go to wiki/, and change the .md files (if you add a new one make sure to add it in wiki/wiki.json.)

To update the API Docs, please go to api-generator/api/, and paste the results from the art/generateDocs.bat (From the main repo) script. Then you gotta run filter.py, make sure you have python installed, and have run pip install lxml.

To make tools work, please go to tools/ and make your page there, and when you're done, add it to the list in tools.build.js and tools/index.html, then after you're done, make a PR.

Compiling the website

To compile the website, you need to have nodejs installed.

Then, run the following commands:

npm install
npm run build

This will compile the website and place them in the export folder.

To preview the website in the browser, run the following command:

Windows:

./webserver.bat

Linux and MacOS:

./webserver.sh

The server will be running on port 4030. So, open http://localhost:4030 in your browser.

Updating the last updated time

in the section above the markdown there is a line that says

lastUpdated: 2025-01-08T23:57:11.145Z

https://www.timestamp-converter.com/ Use this to get the time in ISO 8601 format.

About

My forks for the CNE Website, Below is the GitHub pages for the wiki-reformat branch.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages