GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ginifizz/api-platform-website: The API Platform website

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

474 Commits
474 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
src
src
 
 
static
static
 
 
.editorconfig
.editorconfig
 
 
.env
.env
 
 
.env.gatsby
.env.gatsby
 
 
.eslintignore
.eslintignore
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
.prettierrc
.prettierrc
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
constants.js
constants.js
 
 
gatsby-config.js
gatsby-config.js
 
 
gatsby-node.js
gatsby-node.js
 
 
images.d.ts
images.d.ts
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

api-platform.com

This repository contains the source code and documentation powering api-platform.com.

Single Page Application built with React and powered by Gatsby.

Build Status

Project structure

For an overview of the project structure, please refer to the Gatsby documentation.

Installation and usage

To run the installation script, you will need jq. Be sure to install them first and to have the binaries in your path.

# Checkout project

git clone https://github.com/api-platform/website.git

# Change directory

cd website

# Install dependencies

yarn install

# Retrieve documentation

bin/retrieve-documentation

# Run project locally (for development)

yarn gatsby develop
> Go to http://localhost:8000/

# Build the project (for production)

yarn gatsby build

# Test the built project locally

yarn gatsby serve
> Go to http://localhost:9000

Publishing Docs For New Versions

  1. Create a branch for the new version in the api-platform/docs repository.
  2. Update Algolia DocSearch configuration
{
  "index_name": "api-platform",
  "start_urls": [
    {
      "url": "https://api-platform.com/docs/(?P<version>.*?)/",
      "variables": {
        "version": [
          "main",
          "2.6",
          "2.5",
          "2.4",
          "2.3",
          "2.2",
          "2.1"
        ]
      }
    },
    // ...
  },
  // ...
}
  1. Add the new version in constants.js
module.exports = Object.freeze({
  // ...
  versions: ['main', '2.5', '2.4', '2.3', '2.2', '2.1'],
  currentVersion: '2.6',
  mainVersion: '2.7',
  // ...
});

🤝 Contributors features

You need to use a valid github token to retrieve the list of contributors.

  1. Go to your github developer settings

  2. Select scopes public_repo, read:org and read:user, generate the token and copy it.

  3. Create a new .env.local file on the root of your local website project, and set your token as an environment variable named GITHUB_KEY.

❗Core team badges restriction: You need to be a member of API Platform organization to retrieve API Platform teams. You can still locally launch the project, but the badges of the core team members will not appear.

About

The API Platform website

api-platform.com

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.