Skip to content

Commit 1a08b0f

Browse files
committed
Remove unnecessary Jekyll setup commands and update configuration for cleaner deployment
1 parent 70720ac commit 1a08b0f

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/pages.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ jobs:
3737
- name: Install dependencies
3838
run: |
3939
cd docs
40-
gem install bundler jekyll
41-
bundle init --force
42-
bundle add jekyll minima
4340
bundle install
4441
4542
- name: Build with Jekyll

docs/Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ gem "minima", "~> 2.5"
55

66
group :jekyll_plugins do
77
gem "jekyll-feed", "~> 0.12"
8-
gem "jekyll-relative-links"
98
end
109

1110
platforms :mingw, :x64_mingw, :mswin, :jruby do
1211
gem "tzinfo", ">= 1", "< 3"
1312
gem "tzinfo-data"
1413
end
1514

16-
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
15+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
16+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

docs/_config.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,35 @@
11
title: 'Datadog Browser SDK API Reference'
22
description: 'API documentation for Datadog Browser SDK packages'
33

4+
# Build settings
45
markdown: kramdown
56
highlighter: rouge
67
theme: minima
78

9+
# GitHub Pages settings
810
baseurl: '/browser-sdk'
911
url: 'https://datadoghq.dev'
1012

13+
# Plugins
1114
plugins:
12-
- jekyll-relative-links
13-
14-
relative_links:
15-
enabled: true
16-
collections: false
15+
- jekyll-feed
1716

17+
# Include markdown files
1818
include:
1919
- '*.md'
2020

21+
# Exclude files from processing
2122
exclude:
2223
- README.md
2324
- LICENSE
2425
- CHANGELOG.md
2526
- node_modules/
2627
- package.json
2728
- yarn.lock
29+
- Gemfile
30+
- Gemfile.lock
2831

32+
# Kramdown settings
2933
kramdown:
3034
input: GFM
3135
syntax_highlighter: rouge

0 commit comments

Comments
 (0)