Skip to content

Commit 5635f10

Browse files
see7elucaaamaral
authored andcommitted
chore: Attend to PR review
Remove CHANGELOG and NOTES files, clean up Dockerfile and docker-compose, and update docusaurus configuration Signed-off-by: Gabryel Nóbrega <gabryelster@gmail.com>
1 parent f6d69a4 commit 5635f10

File tree

6 files changed

+12
-86
lines changed

6 files changed

+12
-86
lines changed

CHANGELOG.md

-17
This file was deleted.

NOTES.md

-32
This file was deleted.

docusaurus/.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,3 @@
5050
# Ignore any package-lock or yarn.lock if using a different package manager
5151
# Uncomment the one you're not using
5252
**/yarn.lock
53-
# **/package-lock.json
54-
# **/pnpm-lock.yaml

docusaurus/Dockerfile

+11-17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# Copyright 2023 The Magma Authors.
2+
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
6+
# Unless required by applicable law or agreed to in writing, software
7+
# distributed under the License is distributed on an "AS IS" BASIS,
8+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
# See the License for the specific language governing permissions and
10+
# limitations under the License.
11+
112
FROM node:20-alpine AS base
213

314
WORKDIR /
@@ -19,20 +30,3 @@ COPY . .
1930
# Development stage
2031
FROM base AS development
2132
CMD ["npm", "run", "start"]
22-
23-
# # Production stage
24-
# FROM base AS build
25-
# RUN npm run build
26-
27-
# # Use Nginx to serve static files
28-
# FROM nginx:alpine
29-
# WORKDIR /usr/share/nginx/html
30-
31-
# # Copy build output from the previous stage
32-
# COPY --from=build /app/build .
33-
34-
# # Expose port for web server
35-
# EXPOSE 80
36-
37-
# # Start Nginx
38-
# CMD ["nginx", "-g", "daemon off;"]

docusaurus/docker-compose.yml

-12
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,3 @@ services:
1919
environment:
2020
- NODE_ENV=development
2121
command: npm run start
22-
23-
# docusaurus-prod:
24-
# build:
25-
# context: .
26-
# target: build
27-
# cache_from:
28-
# - docusaurus-prod
29-
# container_name: docusaurus_prod
30-
# ports:
31-
# - "8080:80"
32-
# environment:
33-
# - NODE_ENV=production

docusaurus/docusaurus.config.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ const config = {
3838
({
3939
docs: {
4040
sidebarPath: './sidebars.js',
41-
// Please change this to your repo.
42-
// Remove this to remove the "edit this page" links.
43-
editUrl:
44-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
4541
},
4642
theme: {
4743
customCss: './src/css/custom.css',
@@ -53,8 +49,7 @@ const config = {
5349
themeConfig:
5450
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
5551
({
56-
// Replace with your project's social card at /docusaurus/static/img/
57-
// image: 'img/docusaurus-social-card.jpg',
52+
image: 'img/magma_icon.png',
5853
navbar: {
5954
title: 'Magma',
6055
logo: {

0 commit comments

Comments
 (0)