Skip to content

Commit 9a46b82

Browse files
committed
refactor: just have docs here
1 parent a489d51 commit 9a46b82

File tree

20 files changed

+956
-1780
lines changed

20 files changed

+956
-1780
lines changed

blog/2025-04-19-example-blog-post.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

blog/authors.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

blog/tags.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: GPUL Documentation
3+
slug: /
4+
---
5+
6+
import {Redirect} from '@docusaurus/router';
7+
8+
<Redirect to="/about/intro" />

docusaurus.config.ts

Lines changed: 15 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import type * as Preset from '@docusaurus/preset-classic';
55
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
66

77
const config: Config = {
8-
title: 'GPUL',
9-
tagline: 'Grupo de Programadores e Usuarios de Linux',
8+
title: 'GPUL Docs',
9+
tagline: 'Documentación do Grupo de Programadores e Usuarios de Linux',
1010
favicon: 'img/favicon.ico',
1111

12-
url: 'https://gpul.org',
12+
url: 'https://docs.gpul.org',
1313
baseUrl: '/',
1414

1515
organizationName: 'gpul-org',
16-
projectName: 'web',
16+
projectName: 'docs',
1717

1818
onBrokenLinks: 'throw',
1919
onBrokenMarkdownLinks: 'warn',
@@ -30,17 +30,7 @@ const config: Config = {
3030
docs: {
3131
sidebarPath: './sidebars.ts',
3232
editUrl: 'https://github.com/gpul-org/web',
33-
},
34-
blog: {
35-
showReadingTime: true,
36-
feedOptions: {
37-
type: ['rss', 'atom'],
38-
xslt: true,
39-
},
40-
editUrl: 'https://github.com/gpul-org/web',
41-
onInlineTags: 'warn',
42-
onInlineAuthors: 'warn',
43-
onUntruncatedBlogPosts: 'warn',
33+
routeBasePath: '/',
4434
},
4535
theme: {
4636
customCss: './src/css/custom.css',
@@ -54,99 +44,32 @@ const config: Config = {
5444
metadata: [
5545
{
5646
name: 'keywords',
57-
content: 'open source, linux, gpul, blog, udc, coruna, fic',
47+
content: 'open source, linux, gpul, documentacion, udc, coruna, fic',
5848
},
5949
{name: 'twitter:card', content: 'summary_large_image'},
6050
],
6151
navbar: {
62-
title: 'GPUL',
52+
title: 'GPUL Docs',
6353
logo: {
6454
alt: 'GPUL Logo',
6555
src: 'img/logo-small.svg',
6656
},
6757
items: [
6858
{
69-
type: 'docSidebar',
70-
sidebarId: 'docs',
71-
position: 'left',
72-
label: 'Wiki',
73-
},
74-
{
75-
to: '/blog',
76-
label: 'Blog',
77-
position: 'left',
59+
href: 'https://gpul.org',
60+
label: 'Web',
61+
position: 'right',
7862
},
7963
{
80-
href: 'https://github.com/gpul-org/web',
64+
href: 'https://github.com/gpul-org/docs',
8165
label: 'GitHub',
8266
position: 'right',
8367
},
8468
],
8569
},
8670
footer: {
8771
style: 'dark',
88-
links: [
89-
{
90-
title: 'Redes',
91-
items: [
92-
{
93-
label: 'Bluesky',
94-
href: 'https://bsky.app/profile/gpul.org',
95-
},
96-
{
97-
label: 'Instagram',
98-
href: 'https://www.instagram.com/gpul_',
99-
},
100-
{
101-
label: 'LinkedIn',
102-
href: 'https://www.linkedin.com/company/gpul',
103-
},
104-
{
105-
label: 'X',
106-
href: 'https://x.com/gpul_',
107-
},
108-
],
109-
},
110-
{
111-
title: 'Os nosos fregados',
112-
items: [
113-
{
114-
label: 'HackUDC',
115-
href: 'https://hackudc.gpul.org',
116-
},
117-
{
118-
label: 'AtlanticaConf',
119-
href: 'https://atlanticaconf.com',
120-
},
121-
{
122-
label: 'GPUL Schools',
123-
href: 'https://school.gpul.org',
124-
},
125-
],
126-
},
127-
{
128-
title: 'Contacto',
129-
items: [
130-
{
131-
label: 'Dirección',
132-
href: 'https://www.openstreetmap.org/way/880574043',
133-
},
134-
{
135-
label: '+34 881 01 1369',
136-
href: 'tel:+34881011369',
137-
},
138-
{
139-
label: 'info@gpul.org',
140-
href: 'mailto:info@gpul.org',
141-
},
142-
{
143-
label: 'Telegram',
144-
href: 'https://t.me/+PrK44xhqJ9eP9ZUf',
145-
},
146-
],
147-
},
148-
],
149-
copyright: `Copyright © ${new Date().getFullYear()} Grupo de Programadores e Usuarios de Linux.`,
72+
copyright: `Grupo de Programadores e Usuarios de Linux`,
15073
},
15174
prism: {
15275
theme: prismThemes.github,
@@ -159,7 +82,7 @@ const config: Config = {
15982
tagName: 'link',
16083
attributes: {
16184
rel: 'preconnect',
162-
href: 'https://gpul.org',
85+
href: 'https://docs.gpul.org',
16386
},
16487
},
16588
{
@@ -172,8 +95,8 @@ const config: Config = {
17295
'@type': 'Organization',
17396
name: 'Grupo de Programadores e Usuarios de Linux (GPUL)',
17497
alternateName: 'GPUL',
175-
url: 'https://gpul.org/',
176-
logo: 'https://gpul.org/img/logo.svg',
98+
url: 'https://docs.gpul.org/',
99+
logo: 'https://docs.gpul.org/img/logo.svg',
177100
foundingDate: '1998',
178101
description:
179102
'Organización sen ánimo de lucro promovendo o software libre, o hardware libre e o coñecemento aberto desde 1998.',

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "web",
2+
"name": "docs",
33
"version": "1.0.0",
44
"private": true,
5-
"homepage": "https://github.com/gpul-org/web#readme",
5+
"homepage": "https://docs.gpul.org",
66
"license": "GPL-3.0",
77
"scripts": {
88
"docusaurus": "docusaurus",
@@ -17,18 +17,18 @@
1717
"prepare": "husky"
1818
},
1919
"dependencies": {
20-
"@docusaurus/core": "3.7.0",
21-
"@docusaurus/preset-classic": "3.7.0",
20+
"@docusaurus/core": "3.8.1",
21+
"@docusaurus/preset-classic": "3.8.1",
2222
"@mdx-js/react": "^3.0.0",
2323
"clsx": "^2.0.0",
2424
"prism-react-renderer": "^2.3.0",
2525
"react": "^19.0.0",
2626
"react-dom": "^19.0.0"
2727
},
2828
"devDependencies": {
29-
"@docusaurus/module-type-aliases": "3.7.0",
30-
"@docusaurus/tsconfig": "3.7.0",
31-
"@docusaurus/types": "3.7.0",
29+
"@docusaurus/module-type-aliases": "3.8.1",
30+
"@docusaurus/tsconfig": "3.8.1",
31+
"@docusaurus/types": "3.8.1",
3232
"@eslint/css": "^0.9.0",
3333
"@eslint/js": "^9.30.1",
3434
"@eslint/json": "^0.13.0",

0 commit comments

Comments
 (0)