# haxe.org **Repository Path**: mirrors_robinrodricks/haxe.org ## Basic Information - **Project Name**: haxe.org - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README haxe.org ======== [![Build Status](https://travis-ci.org/HaxeFoundation/haxe.org.svg?branch=staging)](https://travis-ci.org/HaxeFoundation/haxe.org) [![Code Climate](https://codeclimate.com/github/HaxeFoundation/haxe.org/badges/gpa.svg)](https://codeclimate.com/github/HaxeFoundation/haxe.org) [![Issue Count](https://codeclimate.com/github/HaxeFoundation/haxe.org/badges/issue_count.svg)](https://codeclimate.com/github/HaxeFoundation/haxe.org) This is the code base for the website. ## Contributing Content On the website there is a "Contribute" link on the footer of each page. Clicking this link will take you to the relevant file in this repository, or the relevant file in the [HaxeManual repository](https://github.com/HaxeFoundation/HaxeManual). You can then edit using Github's online file editor and submit a pull request. You can also fork the repo and edit on your local machine with your preferred text editor, which may be easier for large integrations. ### Adding a blog post Add a file named `YEAR-MONTH-DAY-name.md` in `posts/`. The first part of the file contains the post metadata: ```yml title: The title of your post author: Author id description: The description of your post background: Optional image filename used as background for the post header published: true/false, if true it'll apear in the blog post list/rss feed tags: Comma separated of tags id disqusID: Unique id number used for comments, take the number of the last post and increment it by one --- ``` The author id should be listed in `people.json`: ```json { "username": "the user id used in the post", "name": "Your Name", "bio": "One line bio about you" } ``` The background image should be stored in `www/img/blog/backgrounds/`. The tags should be listed in `posts/tags.json`: ```json { "tag": "the tag id", "name": "the tag display name", "description": "the tag description, shown on the tag post list" } ``` The post needs to have the `---` and the blank line between the metadata and the content. The content of a post is in markdown, but you can include some html. If you do it needs to be valid xml, so all tags needs to be closed: `
` is okay but `
` is not, and you can't have value-less attributes: `` is okay but `` is not. To include an image in markdown: `![Title](name.png)`. The image should be stored in `www/img/blog/YEAR-MONTH-DAY-name/`. ## Issues, bugs and suggestions If you find a bug, have an issue, suggestion, or want to contribute in some other way, please use the Github Issue Tracker. Any bugs we will attempt to address promptly. New content or subjective issues (colours, fonts, marketing material etc) will be considered on a case by case basis. If you are a designer and want to help freshen up the look of the site, please open an issue or contact . We'd love your input! ## Contributing CSS Currently the css for the site is in [www/css/style.css](https://github.com/HaxeFoundation/haxe.org/blob/staging/www/css/style.css). We currently use the bootstrap 2.3.2 CSS library and the Font Awesome 4.1.0 icon library. ## Structure * The pages content are in `pages/`, in either html or markdown. * The blog posts are in `posts/` in markdown, and their images are in `www/img/blog/$name/`. * The release messages for the haxe versions are in `releaseNotes/`, in markdown. * The code is in `src/`. The generations calls `src/Main.hx` and the javascript `src/Client.hx`. * The views are in `views/` and uses the [haxe template syntax](https://haxe.org/manual/std-template.html) with foreach disabled. * The static assets are in `www/`. ## Running a local copy for development The haxe.org website was designed to be easy to generate, to run a local copy follow these steps: ### Requirements * Haxe * Haxelib * Neko * cUrl * NodeJS ### Setting up * Install the dependencies `haxelib install all` and `npm install` in the root directory. * Update submodule dependencies `git submodule init && git submodule update` * Generate the website by running `haxe generate.hxml`. The website is now available in the `out/` folder, you can launch it with `nekotools server -d out` and access it at `http://localhost:2000/`. ## Deploying updates * Any push or merge to the `staging` branch will trigger [TravisCI](https://travis-ci.org/HaxeFoundation/haxe.org) to build and deploy to "staging.haxe.org". * Any push or merge to the `master` branch will trigger [TravisCI](https://travis-ci.org/HaxeFoundation/haxe.org) to build and deploy to "haxe.org".