Skip to content

The Website + Docs Pages for the Tydium API Endpoints.

License

Notifications You must be signed in to change notification settings

TydiumCraft/API-Website

Repository files navigation

TydiumCraft API Website

The main website where all API Documentation is held.

Pull Request

Feel free to make any PRs to the repository. I am always looking to improve this page and it would always be nice to have the communities back. Feel free to reach out inside of the Discord for any questions.

Note

The source code is meant to be ran with NGINX. It utilizes three main features.

  • Includes (SSI)
  • Removes .html from the request links.
  • Uses error page configurations.

Example Nginx Config Setup:

    server {
        listen       80;
        server_name  localhost;

        root html;
        index api.html;
        error_page 403 /403.html;
        error_page 404 /404.html;

    location / {
        ssi on;
        if ($request_uri ~ ^/(.*)\.html$) {
            return 301 /$1;
        }
        try_files $uri $uri.html $uri/ =404;
        }
    }

About

The Website + Docs Pages for the Tydium API Endpoints.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published