Skip to content

Commit

Permalink
Merge pull request #29 from entria/feat/docusuarus
Browse files Browse the repository at this point in the history
feat(docusuarus): docusuarus
  • Loading branch information
sibelius authored Dec 10, 2021
2 parents 3b92224 + 61a5d37 commit 968b856
Show file tree
Hide file tree
Showing 28 changed files with 8,466 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# AUTOMATIC REVIEWERS
* @sibelius @rturk @daniloab @luansantosti
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "08:00"
open-pull-requests-limit: 10
17 changes: 17 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: auto-merge

on:
pull_request_target:
branches:
- master

jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: ahmadnassri/action-dependabot-auto-merge@v2.4
with:
github-token: ${{ secrets.AUTOMERGE_TOKEN }}
command: "squash and merge"
target: minor
36 changes: 36 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: documentation

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
gh-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- uses: webfactory/ssh-agent@v0.5.0
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: Release to GitHub Pages
env:
USE_SSH: true
GIT_USER: git
run: |
git config --global user.email "sibeliusseraphini@gmail.com"
git config --global user.name "Sibelius"
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run deploy
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,23 @@ buck-out/
android/app/libs

coverage
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
7 changes: 7 additions & 0 deletions docs/software-engineer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
sidebar_position: 1
---

# Software Engineer

Entria Software Engineer goal is to solve customers problems at scale.
89 changes: 89 additions & 0 deletions docs/stack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
sidebar_position: 3
---

# Stack

This stack will evolve over time as we safe more problems.

## JavaScript

## TypeScript

## Nodejs

## Koa

## GraphQL

## Mongoose

## Bulljs

## Jest

## Supertest

## Webpack

## Rollup

## Babel

## JSCodeshift

## OpenAPI

## Docusuarus

## Gatsby

## Prettier

## Eslint

## Hygen

## Redis

## Ws + GraphQL Ws

## React

## Relay

## Styled Components

## Storybook

## Testing Library

## Material UI

## Styled System

## React Router

## Nivo + D3

## React Table

## Draftjs

## Recoil

## Formik

## React Native

## Fastlane

## CircleCI + GitubActions

## Slack + Discord + Twitter

## Medium + dev.to + substack

## Notion Zettelkasten

## Webstorm + VSCode
19 changes: 19 additions & 0 deletions docs/team.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
sidebar_position: 2
---

# Team

[https://twitter.com/rafaturk](https://twitter.com/rafaturk)

[https://twitter.com/sseraphini](https://twitter.com/sseraphini)

[https://twitter.com/AfonsoSx](https://twitter.com/AfonsoSx)

[https://twitter.com/biantris_](https://twitter.com/biantris_)

[https://twitter.com/daniloab_](https://twitter.com/daniloab_)

[https://twitter.com/edumaciel10_](https://twitter.com/edumaciel10_)

[https://twitter.com/jorgefilipe_](https://twitter.com/jorgefilipe_)
102 changes: 102 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Entria Jobs',
tagline: 'Solve problems at Scale',
url: 'http://entria.github.io',
baseUrl: '/jobs/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'entria', // Usually your GitHub org/user name.
projectName: 'jobs', // Usually your repo name.
trailingSlash: false,
plugins: [
// require.resolve('@cmfcmf/docusaurus-search-local'),
],
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl: 'https://github.com/entria/jobs/docs/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/entria/jobs/blog/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
}),
],
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: 'Entria Jobs',
logo: {
alt: 'Entria Jobs',
src: 'img/logo.png',
},
items: [
{
type: 'doc',
docId: 'software-engineer',
position: 'left',
label: 'Software Engineer',
},
{
href: 'https://github.com/entria',
label: 'Entria',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Projects',
items: [
{
label: 'Entria',
href: 'https://entria.com.br',
},
{
label: 'OpenPix',
href: 'https://openpix.com.br',
},
{
label: 'Feedback House',
href: 'https://feedback.house',
},
{
label: 'Log.iD',
href: 'https://logid.com.br',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Entria / OpenPix`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
}),
};

module.exports = config;
38 changes: 38 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "jobs",
"version": "0.0.1",
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^0.8.0",
"@docusaurus/core": "2.0.0-beta.10",
"@docusaurus/preset-classic": "2.0.0-beta.10",
"@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1",
"prism-react-renderer": "^1.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"private": true,
"scripts": {
"build": "docusaurus build",
"clear": "docusaurus clear",
"deploy": "docusaurus deploy",
"docusaurus": "docusaurus",
"serve": "docusaurus serve",
"start": "docusaurus start",
"swizzle": "docusaurus swizzle",
"write-heading-ids": "docusaurus write-heading-ids",
"write-translations": "docusaurus write-translations"
}
}
31 changes: 31 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/

// @ts-check

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],

// But you can create a sidebar manually
/*
tutorialSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
},
],
*/
};

module.exports = sidebars;
Loading

0 comments on commit 968b856

Please sign in to comment.