• This repository has been archived on 20/Nov/2023
  • Stars
    star
    305
  • Rank 136,066 (Top 3 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 6 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

HackerOne Platform Documentation

Gatsby Publish

docs.hackerone.com

This repo contains the source code and documentation powering docs.hackerone.com.

Getting started

Prerequisites

  1. Git
  2. Node: install version 16 or greater
  3. Yarn: See Yarn website for installation instructions
  4. A fork of the repo (for any contributions)
  5. A clone of the docs.hackerone.com repo on your local machine

Installation

  1. cd docs.hackerone.com to go into the project root
  2. yarn to install the website's npm dependencies

Running locally

  1. yarn develop to start the hot-reloading development server (powered by Gatsby)
  2. open http://localhost:8000 to open the site in your favorite browser

Deploy

Deploys are automated using GitHub actions. Every commit to the master branch will trigger a script that will build and deploy the site to production. If you want to deploy manually, follow the steps below:

  1. cd docs.hackerone.com to go into the project root
  2. yarn deploy
  3. wait a minute and open https://docs.hackerone.com/

Contributing

Guidelines

The documentation is divided into several sections with a different tone and purpose. If you plan to write more than a few sentences, you might find it helpful to get familiar with the contributing guidelines for the appropriate sections.

Create a branch

  1. git checkout master from any folder in your local docs.hackerone.com repository
  2. git pull origin master to ensure you have the latest main code
  3. git checkout -b the-name-of-my-branch (replacing the-name-of-my-branch with a suitable name) to create a branch

Make the change

  1. Follow the "Running locally" instructions
  2. Save the files and check in the browser
  3. Changes to React components in src will hot-reload
  4. Changes to markdown files in docs will hot-reload
  5. If working with plugins, you may need to remove the .cache directory and restart the server

Test the change

  1. If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.

Push it

  1. git add -A && git commit -m "My message" (replacing My message with a commit message, such as Fixed header logo on Android) to stage and commit your changes
  2. git push my-fork-name the-name-of-my-branch
  3. Go to the docs.hackerone.com repo, and you should see recently pushed branches.
  4. Follow GitHub's instructions.
  5. If possible, include screenshots of visual changes.

Troubleshooting

  • yarn clean to clear the local gatsby cache
  • yarn reset to clear the local node.js cache

More Repositories

1

hacker101

Source code for Hacker101.com - a free online web and mobile security class.
SCSS
13,682
star
2

react-datepicker

A simple and reusable datepicker component for React
TypeScript
7,926
star
3

awesome-hacker-api-tools

A collection of hacker tools using HackerOne's API
245
star
4

Hacker101Coursework

Deprecated coursework from first iteration of Hacker101
Python
101
star
5

h1-212-ctf-solutions

A collection of the solutions people wrote for the H1-212 Capture The Flag event
94
star
6

wallpapers

HackerOne Wallpapers
74
star
7

helpful-recon-data

This information provides helpful information to make it easier to discover new attack surface on HackerOne.com.
JavaScript
66
star
8

coffee-to-es2015-codemod

A set of JSCodeshift transforms that will help you transform your CoffeeScript codebase to ES2015
JavaScript
36
star
9

44con-ctf-2019

Official CTF for 44CON 2019
Python
17
star
10

FliteCTF

Our CTF to celebrate our hackers approaching $50M in bounty earnings!
Java
15
star
11

pingpong

HackerOne rules for round the table. What happens when your ball hit the net or when do you need to walk to the other side? Find out here.
13
star
12

data_classification

WIP: DataClassification helps you tag your database columns with smart comments in order to classify your data
Ruby
5
star
13

h1-ctf-archives

C
4
star
14

cjsx-style-guide

A Style Guide for writing clean and readable CJSX
4
star
15

react-make-it-rain

React Component that helps you when you want to make it rain 💰💵💸
JavaScript
3
star
16

h1ql

3
star
17

fluent_logger_rails

Ruby
3
star
18

h1-vpn

2
star
19

hai-on-hackerone

Python
2
star
20

hackerone-swagger-codegen

HackerOne library for generating api clients with swagger.
HTML
2
star
21

hermes

Hermes is HackerOne's homegrown test impact analysis framework used for selective test running and dependency analysis.
Ruby
2
star
22

homebrew-taps

Ruby
1
star
23

HackerOne-VS-Code-Theme

1
star