Code Monkey home page Code Monkey logo

versus's Introduction

Versus

Netlify Status

This is an open sourced, community driven, living document, which means that it will be updated as time goes on to include more examples, correct erratum, etc. provided by both the maintainer as well as members of the community, like you!

Created with Honkit

Getting Started

To create and preview content locally, do the following:

$ git clone [email protected]:glinesbdev/versus.git
$ cd versus
$ npm install
$ npx honkit serve

You can also use npm run dev to start the development server.

Then head to http://localhost:4000 to view the book. Any changes you make to content will be automatically reloaded by your browser.

When adding any new variables or partials, please update this document!

Variables

Honkit allows you to create custom variables to use in your views. Below are the current registered variables.

Variable Value
macros_path /macros/macros.html
partials.path /partials
partials.images_path /partials/images
project.readme_url https://github.com/glinesbdev/versus/blob/main/README
examples.path /examples
uefn_essentials.path /uefn-essentials
external.links.fortnite_create https://create.fortnite.com
external.links.fortnite_creative_discord https://discord.gg/fortnitecreative
external.links.fortnite_creative_team_docs https://dev.epicgames.com/documentation/en-us/uefn/creating-teams-in-creator-portal-in-unreal-editor-for-fortnite
external.links.uefn https://www.fortnite.com/news/unreal-editor-for-fortnite-and-creator-economy-2-0-are-here-new-worlds-await
external.links.uefn_collaboration https://dev.epicgames.com/documentation/en-us/uefn/collaborating-in-unreal-editor-for-fortnite
external.links.uefn_docs https://dev.epicgames.com/documentation/en-us/uefn/unreal-editor-for-fortnite-documentation
external.links.uefn_gameplay_docs https://dev.epicgames.com/documentation/en-us/uefn/learn-game-mechanics-in-unreal-editor-for-fortnite
external.links.uefn_download https://store.epicgames.com/en-US/p/fortnite--uefn
external.links.uefn_unreal.revision_control https://dev.epicgames.com/documentation/en-us/uefn/unreal-revision-control-in-unreal-editor-for-fortnite
external.links.uefn_verse.common_types https://dev.epicgames.com/documentation/en-us/uefn/common-types-in-verse
external.links.uefn_verse.learn https://dev.epicgames.com/documentation/en-us/uefn/learn-programming-with-verse-in-unreal-editor-for-fortnite
external.links.uefn_verse.language_reference https://dev.epicgames.com/documentation/en-us/uefn/verse-language-reference
external.links.uefn_verse.api_reference https://dev.epicgames.com/documentation/en-us/uefn/verse-api
external.links.uefn_verse.specifiers_and_attributes https://dev.epicgames.com/documentation/en-us/uefn/specifiers-and-attributes-in-verse
external.links.uefn_glossary.device https://dev.epicgames.com/documentation/en-us/uefn/unreal-editor-for-fortnite-glossary#device

These are used in Markdown files with the following syntax: {{ book.partials.path }}.

To register new variables, update the variables key in the book.json file.

Partials

Partials are files that you can include into other files for re-use or to add modularity. These files are located in the src/partials directory.

Refer to the Honkit Documentation for more information.

Macros

All macros are stored in the /macros/macros.html. To use a macro on a page, first import it

{% import book.macros_path as macros %}

or you can import specific functions separated by commas

{% from book.macros_path import external_link %}

You can then use it {{ external_link('Fortnite', 'https://fortnite.com') }}.

Issues

Find something that needs fixing? If you have the knowledge and know-how to fix it, please contribute back! For anything else, please create an issue.

Contributing

  1. Please read and familiarize yourself with our Document for Contributors. By contributing to this project, you agree to abide by the rules of the Contributing Document.
  2. Fork the repo.
  3. Make changes in your local repo.
  4. Push it to your forked branch.
  5. Create a new Pull Request.

versus's People

Contributors

glinesbdev avatar spilth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.