Skip to content

Commit dbc3293

Browse files
committed
feat: add Java syntax, operators, and OOP concepts documentation
- Created 02-sintaxe.md for Java syntax rules, data types, variables, and access modifiers. - Added 03-operadores.md covering arithmetic, relational, logical operators, and JavaDoc. - Introduced 11-orientacao-a-objeto.md explaining OOP principles: encapsulation, inheritance, and polymorphism. - Established index.mdx as the main entry point for Java Labs with navigation links. - Compiled recursos.md with additional learning resources including books, courses, and tools. - Added custom CSS for dark and light themes, enhancing visual consistency. - Configured TypeScript settings in tsconfig.json for strict type checking.
1 parent b0d1a0c commit dbc3293

20 files changed

Lines changed: 7198 additions & 803 deletions

.github/AI_INSTRUCTIONS.md

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

.github/TEMPLATE.md

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

.github/workflows/deploy.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
name: Build
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- uses: actions/setup-node@v4
25+
with:
26+
node-version: 20
27+
cache: npm
28+
cache-dependency-path: package-lock.json
29+
30+
- name: Install dependencies
31+
run: npm ci
32+
33+
- name: Build site
34+
run: npm run build
35+
36+
- uses: actions/configure-pages@v4
37+
38+
- uses: actions/upload-pages-artifact@v3
39+
with:
40+
path: dist
41+
42+
deploy:
43+
name: Deploy
44+
needs: build
45+
runs-on: ubuntu-latest
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
steps:
50+
- uses: actions/deploy-pages@v4
51+
id: deployment

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,24 @@ _site/
9696
.sass-cache/
9797
.jekyll-cache/
9898
.jekyll-metadata
99+
100+
# Build output
101+
dist/
102+
103+
# Astro
104+
.astro/
105+
106+
# Environment
107+
.env
108+
.env.*
109+
!.env.example
110+
111+
# OS
112+
.DS_Store
113+
Thumbs.db
114+
115+
# Editor
116+
.vscode/
117+
.idea/
118+
*.swp
119+
*.swo

_config.yml

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

astro.config.mjs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { defineConfig } from 'astro/config';
2+
import starlight from '@astrojs/starlight';
3+
4+
export default defineConfig({
5+
site: 'https://caramelotech.github.io',
6+
base: '/java-labs',
7+
integrations: [
8+
starlight({
9+
title: 'Java Labs',
10+
customCss: ['./src/styles/custom.css'],
11+
social: [
12+
{
13+
icon: 'github',
14+
label: 'GitHub',
15+
href: 'https://github.com/caramelotech/java-labs',
16+
},
17+
],
18+
defaultLocale: 'root',
19+
locales: {
20+
root: { label: 'Português', lang: 'pt-BR' },
21+
},
22+
}),
23+
],
24+
});
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)