hot_docs 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rubocop.yml +8 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +12 -0
- data/lib/hot_docs/version.rb +5 -0
- data/lib/hot_docs.rb +8 -0
- data/sig/hot_docs.rbs +4 -0
- data/website/.dockerignore +51 -0
- data/website/.gitattributes +9 -0
- data/website/.github/dependabot.yml +12 -0
- data/website/.github/images/hot_docs.svg +17 -0
- data/website/.github/workflows/ci.yml +90 -0
- data/website/.gitignore +37 -0
- data/website/.kamal/hooks/docker-setup.sample +3 -0
- data/website/.kamal/hooks/post-deploy.sample +14 -0
- data/website/.kamal/hooks/post-proxy-reboot.sample +3 -0
- data/website/.kamal/hooks/pre-build.sample +51 -0
- data/website/.kamal/hooks/pre-connect.sample +47 -0
- data/website/.kamal/hooks/pre-deploy.sample +109 -0
- data/website/.kamal/hooks/pre-proxy-reboot.sample +3 -0
- data/website/.kamal/secrets +17 -0
- data/website/.rubocop.yml +8 -0
- data/website/.ruby-version +1 -0
- data/website/Dockerfile +72 -0
- data/website/Gemfile +65 -0
- data/website/Gemfile.lock +394 -0
- data/website/LICENSE.txt +21 -0
- data/website/README.md +49 -0
- data/website/Rakefile +6 -0
- data/website/app/assets/images/.keep +0 -0
- data/website/app/assets/images/hot_docs_components_desktop.png +0 -0
- data/website/app/assets/images/hot_docs_components_mobile.png +0 -0
- data/website/app/assets/stylesheets/hot_docs.css +999 -0
- data/website/app/assets/stylesheets/website.css +245 -0
- data/website/app/controllers/application_controller.rb +4 -0
- data/website/app/controllers/concerns/.keep +0 -0
- data/website/app/controllers/hot_docs_controller.rb +3 -0
- data/website/app/helpers/application_helper.rb +25 -0
- data/website/app/helpers/hot_docs_helper.rb +99 -0
- data/website/app/javascript/application.js +3 -0
- data/website/app/javascript/controllers/accordion_controller.js +36 -0
- data/website/app/javascript/controllers/application.js +9 -0
- data/website/app/javascript/controllers/index.js +4 -0
- data/website/app/javascript/controllers/sidenav_controller.js +39 -0
- data/website/app/javascript/controllers/toc_controller.js +91 -0
- data/website/app/javascript/controllers/typewriter_controller.js +59 -0
- data/website/app/jobs/application_job.rb +7 -0
- data/website/app/mailers/application_mailer.rb +4 -0
- data/website/app/models/application_record.rb +3 -0
- data/website/app/models/concerns/.keep +0 -0
- data/website/app/views/hot_docs/_menu_row.html.erb +11 -0
- data/website/app/views/hot_docs/components.html.mderb +32 -0
- data/website/app/views/hot_docs/embedded.html.mderb +12 -0
- data/website/app/views/hot_docs/footer.html.mderb +13 -0
- data/website/app/views/hot_docs/helpers.html.mderb +33 -0
- data/website/app/views/hot_docs/index.html.erb +143 -0
- data/website/app/views/hot_docs/light_dark.html.mderb +29 -0
- data/website/app/views/hot_docs/markdown.html.mderb +27 -0
- data/website/app/views/hot_docs/nav.html.mderb +15 -0
- data/website/app/views/hot_docs/quickstart.html.mderb +11 -0
- data/website/app/views/hot_docs/search.html.mderb +7 -0
- data/website/app/views/hot_docs/standalone.html.mderb +11 -0
- data/website/app/views/hot_docs/static_export.html.mderb +7 -0
- data/website/app/views/hot_docs/toc.html.mderb +11 -0
- data/website/app/views/layouts/hot_docs.html.erb +175 -0
- data/website/app/views/layouts/mailer.html.erb +13 -0
- data/website/app/views/layouts/mailer.text.erb +1 -0
- data/website/app/views/layouts/website.html.erb +175 -0
- data/website/app/views/pwa/manifest.json.erb +22 -0
- data/website/app/views/pwa/service-worker.js +26 -0
- data/website/bin/brakeman +7 -0
- data/website/bin/bundle +109 -0
- data/website/bin/dev +2 -0
- data/website/bin/docker-entrypoint +14 -0
- data/website/bin/embed_hot_docs +33 -0
- data/website/bin/importmap +4 -0
- data/website/bin/jobs +6 -0
- data/website/bin/kamal +27 -0
- data/website/bin/rails +4 -0
- data/website/bin/rake +4 -0
- data/website/bin/rubocop +8 -0
- data/website/bin/setup +34 -0
- data/website/bin/thrust +5 -0
- data/website/config/application.rb +27 -0
- data/website/config/boot.rb +4 -0
- data/website/config/cable.yml +17 -0
- data/website/config/cache.yml +16 -0
- data/website/config/credentials.yml.enc +1 -0
- data/website/config/database.yml +41 -0
- data/website/config/deploy.yml +116 -0
- data/website/config/environment.rb +5 -0
- data/website/config/environments/development.rb +72 -0
- data/website/config/environments/production.rb +90 -0
- data/website/config/environments/test.rb +53 -0
- data/website/config/importmap.rb +7 -0
- data/website/config/initializers/assets.rb +7 -0
- data/website/config/initializers/content_security_policy.rb +25 -0
- data/website/config/initializers/filter_parameter_logging.rb +8 -0
- data/website/config/initializers/inflections.rb +16 -0
- data/website/config/initializers/markdown.mjs +26 -0
- data/website/config/initializers/markdown.rb +35 -0
- data/website/config/locales/en.yml +31 -0
- data/website/config/puma.rb +41 -0
- data/website/config/queue.yml +18 -0
- data/website/config/recurring.yml +10 -0
- data/website/config/routes.rb +28 -0
- data/website/config/storage.yml +34 -0
- data/website/config.ru +6 -0
- data/website/db/cable_schema.rb +11 -0
- data/website/db/cache_schema.rb +14 -0
- data/website/db/queue_schema.rb +129 -0
- data/website/db/seeds.rb +9 -0
- data/website/lib/tasks/.keep +0 -0
- data/website/log/.keep +0 -0
- data/website/public/400.html +114 -0
- data/website/public/404.html +114 -0
- data/website/public/406-unsupported-browser.html +114 -0
- data/website/public/422.html +114 -0
- data/website/public/500.html +114 -0
- data/website/public/apple-touch-icon.png +0 -0
- data/website/public/favicon.ico +0 -0
- data/website/public/hot_docs.svg +17 -0
- data/website/public/robots.txt +1 -0
- data/website/script/.keep +0 -0
- data/website/storage/.keep +0 -0
- data/website/test/application_system_test_case.rb +5 -0
- data/website/test/controllers/.keep +0 -0
- data/website/test/fixtures/files/.keep +0 -0
- data/website/test/helpers/.keep +0 -0
- data/website/test/helpers/hot_docs_helper_test.rb +94 -0
- data/website/test/integration/.keep +0 -0
- data/website/test/mailers/.keep +0 -0
- data/website/test/models/.keep +0 -0
- data/website/test/system/.keep +0 -0
- data/website/test/test_helper.rb +15 -0
- data/website/tmp/.keep +0 -0
- data/website/tmp/pids/.keep +0 -0
- data/website/tmp/storage/.keep +0 -0
- data/website/vendor/.keep +0 -0
- data/website/vendor/javascript/.keep +0 -0
- metadata +183 -0
data/website/Dockerfile
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
# syntax=docker/dockerfile:1
|
2
|
+
# check=error=true
|
3
|
+
|
4
|
+
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
|
5
|
+
# docker build -t hot_docs .
|
6
|
+
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name hot_docs hot_docs
|
7
|
+
|
8
|
+
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
|
9
|
+
|
10
|
+
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
|
11
|
+
ARG RUBY_VERSION=3.4.1
|
12
|
+
FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
|
13
|
+
|
14
|
+
# Rails app lives here
|
15
|
+
WORKDIR /rails
|
16
|
+
|
17
|
+
# Install base packages
|
18
|
+
RUN apt-get update -qq && \
|
19
|
+
apt-get install --no-install-recommends -y curl libjemalloc2 libvips sqlite3 && \
|
20
|
+
rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
21
|
+
|
22
|
+
# Set production environment
|
23
|
+
ENV RAILS_ENV="production" \
|
24
|
+
BUNDLE_DEPLOYMENT="1" \
|
25
|
+
BUNDLE_PATH="/usr/local/bundle" \
|
26
|
+
BUNDLE_WITHOUT="development"
|
27
|
+
|
28
|
+
# Throw-away build stage to reduce size of final image
|
29
|
+
FROM base AS build
|
30
|
+
|
31
|
+
# Install packages needed to build gems
|
32
|
+
RUN apt-get update -qq && \
|
33
|
+
apt-get install --no-install-recommends -y build-essential git pkg-config && \
|
34
|
+
rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
35
|
+
|
36
|
+
# Install application gems
|
37
|
+
COPY Gemfile Gemfile.lock ./
|
38
|
+
RUN bundle install && \
|
39
|
+
rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \
|
40
|
+
bundle exec bootsnap precompile --gemfile
|
41
|
+
|
42
|
+
# Copy application code
|
43
|
+
COPY . .
|
44
|
+
|
45
|
+
# Precompile bootsnap code for faster boot times
|
46
|
+
RUN bundle exec bootsnap precompile app/ lib/
|
47
|
+
|
48
|
+
# Precompiling assets for production without requiring secret RAILS_MASTER_KEY
|
49
|
+
RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
# Final stage for app image
|
55
|
+
FROM base
|
56
|
+
|
57
|
+
# Copy built artifacts: gems, application
|
58
|
+
COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
|
59
|
+
COPY --from=build /rails /rails
|
60
|
+
|
61
|
+
# Run and own only the runtime files as a non-root user for security
|
62
|
+
RUN groupadd --system --gid 1000 rails && \
|
63
|
+
useradd rails --uid 1000 --gid 1000 --create-home --shell /bin/bash && \
|
64
|
+
chown -R rails:rails db log storage tmp
|
65
|
+
USER 1000:1000
|
66
|
+
|
67
|
+
# Entrypoint prepares the database.
|
68
|
+
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
|
69
|
+
|
70
|
+
# Start server via Thruster by default, this can be overwritten at runtime
|
71
|
+
EXPOSE 80
|
72
|
+
CMD ["./bin/thrust", "./bin/rails", "server"]
|
data/website/Gemfile
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
ruby file: ".ruby-version"
|
4
|
+
|
5
|
+
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
|
6
|
+
gem "rails", "~> 8.0.1"
|
7
|
+
# The modern asset pipeline for Rails [https://github.com/rails/propshaft]
|
8
|
+
gem "propshaft"
|
9
|
+
# Use sqlite3 as the database for Active Record
|
10
|
+
gem "sqlite3", ">= 2.1"
|
11
|
+
# Use the Puma web server [https://github.com/puma/puma]
|
12
|
+
gem "puma", ">= 5.0"
|
13
|
+
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
|
14
|
+
gem "importmap-rails"
|
15
|
+
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
|
16
|
+
gem "turbo-rails"
|
17
|
+
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
|
18
|
+
gem "stimulus-rails"
|
19
|
+
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
|
20
|
+
gem "jbuilder"
|
21
|
+
|
22
|
+
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
|
23
|
+
# gem "bcrypt", "~> 3.1.7"
|
24
|
+
|
25
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
26
|
+
gem "tzinfo-data", platforms: %i[ windows jruby ]
|
27
|
+
|
28
|
+
# Use the database-backed adapters for Rails.cache, Active Job, and Action Cable
|
29
|
+
gem "solid_cache"
|
30
|
+
gem "solid_queue"
|
31
|
+
gem "solid_cable"
|
32
|
+
|
33
|
+
# Reduces boot times through caching; required in config/boot.rb
|
34
|
+
gem "bootsnap", require: false
|
35
|
+
|
36
|
+
# Deploy this application anywhere as a Docker container [https://kamal-deploy.org]
|
37
|
+
gem "kamal", require: false
|
38
|
+
|
39
|
+
# Add HTTP asset caching/compression and X-Sendfile acceleration to Puma [https://github.com/basecamp/thruster/]
|
40
|
+
gem "thruster", require: false
|
41
|
+
|
42
|
+
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
|
43
|
+
# gem "image_processing", "~> 1.2"
|
44
|
+
|
45
|
+
group :development, :test do
|
46
|
+
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
|
47
|
+
gem "debug", platforms: %i[ mri windows ], require: "debug/prelude"
|
48
|
+
|
49
|
+
# Static analysis for security vulnerabilities [https://brakemanscanner.org/]
|
50
|
+
gem "brakeman", require: false
|
51
|
+
|
52
|
+
# Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/]
|
53
|
+
gem "rubocop-rails-omakase", require: false
|
54
|
+
end
|
55
|
+
|
56
|
+
group :development do
|
57
|
+
# Use console on exceptions pages [https://github.com/rails/web-console]
|
58
|
+
gem "web-console"
|
59
|
+
end
|
60
|
+
|
61
|
+
group :test do
|
62
|
+
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
|
63
|
+
gem "capybara"
|
64
|
+
gem "selenium-webdriver"
|
65
|
+
end
|
@@ -0,0 +1,394 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
actioncable (8.0.1)
|
5
|
+
actionpack (= 8.0.1)
|
6
|
+
activesupport (= 8.0.1)
|
7
|
+
nio4r (~> 2.0)
|
8
|
+
websocket-driver (>= 0.6.1)
|
9
|
+
zeitwerk (~> 2.6)
|
10
|
+
actionmailbox (8.0.1)
|
11
|
+
actionpack (= 8.0.1)
|
12
|
+
activejob (= 8.0.1)
|
13
|
+
activerecord (= 8.0.1)
|
14
|
+
activestorage (= 8.0.1)
|
15
|
+
activesupport (= 8.0.1)
|
16
|
+
mail (>= 2.8.0)
|
17
|
+
actionmailer (8.0.1)
|
18
|
+
actionpack (= 8.0.1)
|
19
|
+
actionview (= 8.0.1)
|
20
|
+
activejob (= 8.0.1)
|
21
|
+
activesupport (= 8.0.1)
|
22
|
+
mail (>= 2.8.0)
|
23
|
+
rails-dom-testing (~> 2.2)
|
24
|
+
actionpack (8.0.1)
|
25
|
+
actionview (= 8.0.1)
|
26
|
+
activesupport (= 8.0.1)
|
27
|
+
nokogiri (>= 1.8.5)
|
28
|
+
rack (>= 2.2.4)
|
29
|
+
rack-session (>= 1.0.1)
|
30
|
+
rack-test (>= 0.6.3)
|
31
|
+
rails-dom-testing (~> 2.2)
|
32
|
+
rails-html-sanitizer (~> 1.6)
|
33
|
+
useragent (~> 0.16)
|
34
|
+
actiontext (8.0.1)
|
35
|
+
actionpack (= 8.0.1)
|
36
|
+
activerecord (= 8.0.1)
|
37
|
+
activestorage (= 8.0.1)
|
38
|
+
activesupport (= 8.0.1)
|
39
|
+
globalid (>= 0.6.0)
|
40
|
+
nokogiri (>= 1.8.5)
|
41
|
+
actionview (8.0.1)
|
42
|
+
activesupport (= 8.0.1)
|
43
|
+
builder (~> 3.1)
|
44
|
+
erubi (~> 1.11)
|
45
|
+
rails-dom-testing (~> 2.2)
|
46
|
+
rails-html-sanitizer (~> 1.6)
|
47
|
+
activejob (8.0.1)
|
48
|
+
activesupport (= 8.0.1)
|
49
|
+
globalid (>= 0.3.6)
|
50
|
+
activemodel (8.0.1)
|
51
|
+
activesupport (= 8.0.1)
|
52
|
+
activerecord (8.0.1)
|
53
|
+
activemodel (= 8.0.1)
|
54
|
+
activesupport (= 8.0.1)
|
55
|
+
timeout (>= 0.4.0)
|
56
|
+
activestorage (8.0.1)
|
57
|
+
actionpack (= 8.0.1)
|
58
|
+
activejob (= 8.0.1)
|
59
|
+
activerecord (= 8.0.1)
|
60
|
+
activesupport (= 8.0.1)
|
61
|
+
marcel (~> 1.0)
|
62
|
+
activesupport (8.0.1)
|
63
|
+
base64
|
64
|
+
benchmark (>= 0.3)
|
65
|
+
bigdecimal
|
66
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
67
|
+
connection_pool (>= 2.2.5)
|
68
|
+
drb
|
69
|
+
i18n (>= 1.6, < 2)
|
70
|
+
logger (>= 1.4.2)
|
71
|
+
minitest (>= 5.1)
|
72
|
+
securerandom (>= 0.3)
|
73
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
74
|
+
uri (>= 0.13.1)
|
75
|
+
addressable (2.8.7)
|
76
|
+
public_suffix (>= 2.0.2, < 7.0)
|
77
|
+
ast (2.4.2)
|
78
|
+
base64 (0.2.0)
|
79
|
+
bcrypt_pbkdf (1.1.1)
|
80
|
+
benchmark (0.4.0)
|
81
|
+
bigdecimal (3.1.9)
|
82
|
+
bindex (0.8.1)
|
83
|
+
bootsnap (1.18.4)
|
84
|
+
msgpack (~> 1.2)
|
85
|
+
brakeman (7.0.0)
|
86
|
+
racc
|
87
|
+
builder (3.3.0)
|
88
|
+
capybara (3.40.0)
|
89
|
+
addressable
|
90
|
+
matrix
|
91
|
+
mini_mime (>= 0.1.3)
|
92
|
+
nokogiri (~> 1.11)
|
93
|
+
rack (>= 1.6.0)
|
94
|
+
rack-test (>= 0.6.3)
|
95
|
+
regexp_parser (>= 1.5, < 3.0)
|
96
|
+
xpath (~> 3.2)
|
97
|
+
concurrent-ruby (1.3.5)
|
98
|
+
connection_pool (2.5.0)
|
99
|
+
crass (1.0.6)
|
100
|
+
date (3.4.1)
|
101
|
+
debug (1.10.0)
|
102
|
+
irb (~> 1.10)
|
103
|
+
reline (>= 0.3.8)
|
104
|
+
dotenv (3.1.7)
|
105
|
+
drb (2.2.1)
|
106
|
+
ed25519 (1.3.0)
|
107
|
+
erubi (1.13.1)
|
108
|
+
et-orbi (1.2.11)
|
109
|
+
tzinfo
|
110
|
+
fugit (1.11.1)
|
111
|
+
et-orbi (~> 1, >= 1.2.11)
|
112
|
+
raabro (~> 1.4)
|
113
|
+
globalid (1.2.1)
|
114
|
+
activesupport (>= 6.1)
|
115
|
+
i18n (1.14.7)
|
116
|
+
concurrent-ruby (~> 1.0)
|
117
|
+
importmap-rails (2.1.0)
|
118
|
+
actionpack (>= 6.0.0)
|
119
|
+
activesupport (>= 6.0.0)
|
120
|
+
railties (>= 6.0.0)
|
121
|
+
io-console (0.8.0)
|
122
|
+
irb (1.15.1)
|
123
|
+
pp (>= 0.6.0)
|
124
|
+
rdoc (>= 4.0.0)
|
125
|
+
reline (>= 0.4.2)
|
126
|
+
jbuilder (2.13.0)
|
127
|
+
actionview (>= 5.0.0)
|
128
|
+
activesupport (>= 5.0.0)
|
129
|
+
json (2.10.1)
|
130
|
+
kamal (2.5.2)
|
131
|
+
activesupport (>= 7.0)
|
132
|
+
base64 (~> 0.2)
|
133
|
+
bcrypt_pbkdf (~> 1.0)
|
134
|
+
concurrent-ruby (~> 1.2)
|
135
|
+
dotenv (~> 3.1)
|
136
|
+
ed25519 (~> 1.2)
|
137
|
+
net-ssh (~> 7.3)
|
138
|
+
sshkit (>= 1.23.0, < 2.0)
|
139
|
+
thor (~> 1.3)
|
140
|
+
zeitwerk (>= 2.6.18, < 3.0)
|
141
|
+
language_server-protocol (3.17.0.4)
|
142
|
+
lint_roller (1.1.0)
|
143
|
+
logger (1.6.6)
|
144
|
+
loofah (2.24.0)
|
145
|
+
crass (~> 1.0.2)
|
146
|
+
nokogiri (>= 1.12.0)
|
147
|
+
mail (2.8.1)
|
148
|
+
mini_mime (>= 0.1.1)
|
149
|
+
net-imap
|
150
|
+
net-pop
|
151
|
+
net-smtp
|
152
|
+
marcel (1.0.4)
|
153
|
+
matrix (0.4.2)
|
154
|
+
mini_mime (1.1.5)
|
155
|
+
minitest (5.25.4)
|
156
|
+
msgpack (1.8.0)
|
157
|
+
net-imap (0.5.6)
|
158
|
+
date
|
159
|
+
net-protocol
|
160
|
+
net-pop (0.1.2)
|
161
|
+
net-protocol
|
162
|
+
net-protocol (0.2.2)
|
163
|
+
timeout
|
164
|
+
net-scp (4.1.0)
|
165
|
+
net-ssh (>= 2.6.5, < 8.0.0)
|
166
|
+
net-sftp (4.0.0)
|
167
|
+
net-ssh (>= 5.0.0, < 8.0.0)
|
168
|
+
net-smtp (0.5.1)
|
169
|
+
net-protocol
|
170
|
+
net-ssh (7.3.0)
|
171
|
+
nio4r (2.7.4)
|
172
|
+
nokogiri (1.18.2-aarch64-linux-gnu)
|
173
|
+
racc (~> 1.4)
|
174
|
+
nokogiri (1.18.2-aarch64-linux-musl)
|
175
|
+
racc (~> 1.4)
|
176
|
+
nokogiri (1.18.2-arm-linux-gnu)
|
177
|
+
racc (~> 1.4)
|
178
|
+
nokogiri (1.18.2-arm-linux-musl)
|
179
|
+
racc (~> 1.4)
|
180
|
+
nokogiri (1.18.2-x86_64-darwin)
|
181
|
+
racc (~> 1.4)
|
182
|
+
nokogiri (1.18.2-x86_64-linux-gnu)
|
183
|
+
racc (~> 1.4)
|
184
|
+
nokogiri (1.18.2-x86_64-linux-musl)
|
185
|
+
racc (~> 1.4)
|
186
|
+
ostruct (0.6.1)
|
187
|
+
parallel (1.26.3)
|
188
|
+
parser (3.3.7.1)
|
189
|
+
ast (~> 2.4.1)
|
190
|
+
racc
|
191
|
+
pp (0.6.2)
|
192
|
+
prettyprint
|
193
|
+
prettyprint (0.2.0)
|
194
|
+
propshaft (1.1.0)
|
195
|
+
actionpack (>= 7.0.0)
|
196
|
+
activesupport (>= 7.0.0)
|
197
|
+
rack
|
198
|
+
railties (>= 7.0.0)
|
199
|
+
psych (5.2.3)
|
200
|
+
date
|
201
|
+
stringio
|
202
|
+
public_suffix (6.0.1)
|
203
|
+
puma (6.6.0)
|
204
|
+
nio4r (~> 2.0)
|
205
|
+
raabro (1.4.0)
|
206
|
+
racc (1.8.1)
|
207
|
+
rack (3.1.10)
|
208
|
+
rack-session (2.1.0)
|
209
|
+
base64 (>= 0.1.0)
|
210
|
+
rack (>= 3.0.0)
|
211
|
+
rack-test (2.2.0)
|
212
|
+
rack (>= 1.3)
|
213
|
+
rackup (2.2.1)
|
214
|
+
rack (>= 3)
|
215
|
+
rails (8.0.1)
|
216
|
+
actioncable (= 8.0.1)
|
217
|
+
actionmailbox (= 8.0.1)
|
218
|
+
actionmailer (= 8.0.1)
|
219
|
+
actionpack (= 8.0.1)
|
220
|
+
actiontext (= 8.0.1)
|
221
|
+
actionview (= 8.0.1)
|
222
|
+
activejob (= 8.0.1)
|
223
|
+
activemodel (= 8.0.1)
|
224
|
+
activerecord (= 8.0.1)
|
225
|
+
activestorage (= 8.0.1)
|
226
|
+
activesupport (= 8.0.1)
|
227
|
+
bundler (>= 1.15.0)
|
228
|
+
railties (= 8.0.1)
|
229
|
+
rails-dom-testing (2.2.0)
|
230
|
+
activesupport (>= 5.0.0)
|
231
|
+
minitest
|
232
|
+
nokogiri (>= 1.6)
|
233
|
+
rails-html-sanitizer (1.6.2)
|
234
|
+
loofah (~> 2.21)
|
235
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
236
|
+
railties (8.0.1)
|
237
|
+
actionpack (= 8.0.1)
|
238
|
+
activesupport (= 8.0.1)
|
239
|
+
irb (~> 1.13)
|
240
|
+
rackup (>= 1.0.0)
|
241
|
+
rake (>= 12.2)
|
242
|
+
thor (~> 1.0, >= 1.2.2)
|
243
|
+
zeitwerk (~> 2.6)
|
244
|
+
rainbow (3.1.1)
|
245
|
+
rake (13.2.1)
|
246
|
+
rdoc (6.12.0)
|
247
|
+
psych (>= 4.0.0)
|
248
|
+
regexp_parser (2.10.0)
|
249
|
+
reline (0.6.0)
|
250
|
+
io-console (~> 0.5)
|
251
|
+
rexml (3.4.1)
|
252
|
+
rubocop (1.72.2)
|
253
|
+
json (~> 2.3)
|
254
|
+
language_server-protocol (~> 3.17.0.2)
|
255
|
+
lint_roller (~> 1.1.0)
|
256
|
+
parallel (~> 1.10)
|
257
|
+
parser (>= 3.3.0.2)
|
258
|
+
rainbow (>= 2.2.2, < 4.0)
|
259
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
260
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
261
|
+
ruby-progressbar (~> 1.7)
|
262
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
263
|
+
rubocop-ast (1.38.0)
|
264
|
+
parser (>= 3.3.1.0)
|
265
|
+
rubocop-minitest (0.37.1)
|
266
|
+
lint_roller (~> 1.1)
|
267
|
+
rubocop (>= 1.72.1, < 2.0)
|
268
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
269
|
+
rubocop-performance (1.24.0)
|
270
|
+
lint_roller (~> 1.1)
|
271
|
+
rubocop (>= 1.72.1, < 2.0)
|
272
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
273
|
+
rubocop-rails (2.30.1)
|
274
|
+
activesupport (>= 4.2.0)
|
275
|
+
lint_roller (~> 1.1)
|
276
|
+
rack (>= 1.1)
|
277
|
+
rubocop (>= 1.72.1, < 2.0)
|
278
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
279
|
+
rubocop-rails-omakase (1.0.0)
|
280
|
+
rubocop
|
281
|
+
rubocop-minitest
|
282
|
+
rubocop-performance
|
283
|
+
rubocop-rails
|
284
|
+
ruby-progressbar (1.13.0)
|
285
|
+
rubyzip (2.4.1)
|
286
|
+
securerandom (0.4.1)
|
287
|
+
selenium-webdriver (4.29.1)
|
288
|
+
base64 (~> 0.2)
|
289
|
+
logger (~> 1.4)
|
290
|
+
rexml (~> 3.2, >= 3.2.5)
|
291
|
+
rubyzip (>= 1.2.2, < 3.0)
|
292
|
+
websocket (~> 1.0)
|
293
|
+
solid_cable (3.0.7)
|
294
|
+
actioncable (>= 7.2)
|
295
|
+
activejob (>= 7.2)
|
296
|
+
activerecord (>= 7.2)
|
297
|
+
railties (>= 7.2)
|
298
|
+
solid_cache (1.0.7)
|
299
|
+
activejob (>= 7.2)
|
300
|
+
activerecord (>= 7.2)
|
301
|
+
railties (>= 7.2)
|
302
|
+
solid_queue (1.1.3)
|
303
|
+
activejob (>= 7.1)
|
304
|
+
activerecord (>= 7.1)
|
305
|
+
concurrent-ruby (>= 1.3.1)
|
306
|
+
fugit (~> 1.11.0)
|
307
|
+
railties (>= 7.1)
|
308
|
+
thor (~> 1.3.1)
|
309
|
+
sqlite3 (2.6.0-aarch64-linux-gnu)
|
310
|
+
sqlite3 (2.6.0-aarch64-linux-musl)
|
311
|
+
sqlite3 (2.6.0-arm-linux-gnu)
|
312
|
+
sqlite3 (2.6.0-arm-linux-musl)
|
313
|
+
sqlite3 (2.6.0-x86_64-darwin)
|
314
|
+
sqlite3 (2.6.0-x86_64-linux-gnu)
|
315
|
+
sqlite3 (2.6.0-x86_64-linux-musl)
|
316
|
+
sshkit (1.24.0)
|
317
|
+
base64
|
318
|
+
logger
|
319
|
+
net-scp (>= 1.1.2)
|
320
|
+
net-sftp (>= 2.1.2)
|
321
|
+
net-ssh (>= 2.8.0)
|
322
|
+
ostruct
|
323
|
+
stimulus-rails (1.3.4)
|
324
|
+
railties (>= 6.0.0)
|
325
|
+
stringio (3.1.3)
|
326
|
+
thor (1.3.2)
|
327
|
+
thruster (0.1.11)
|
328
|
+
thruster (0.1.11-aarch64-linux)
|
329
|
+
thruster (0.1.11-x86_64-darwin)
|
330
|
+
thruster (0.1.11-x86_64-linux)
|
331
|
+
timeout (0.4.3)
|
332
|
+
turbo-rails (2.0.11)
|
333
|
+
actionpack (>= 6.0.0)
|
334
|
+
railties (>= 6.0.0)
|
335
|
+
tzinfo (2.0.6)
|
336
|
+
concurrent-ruby (~> 1.0)
|
337
|
+
unicode-display_width (3.1.4)
|
338
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
339
|
+
unicode-emoji (4.0.4)
|
340
|
+
uri (1.0.2)
|
341
|
+
useragent (0.16.11)
|
342
|
+
web-console (4.2.1)
|
343
|
+
actionview (>= 6.0.0)
|
344
|
+
activemodel (>= 6.0.0)
|
345
|
+
bindex (>= 0.4.0)
|
346
|
+
railties (>= 6.0.0)
|
347
|
+
websocket (1.2.11)
|
348
|
+
websocket-driver (0.7.7)
|
349
|
+
base64
|
350
|
+
websocket-extensions (>= 0.1.0)
|
351
|
+
websocket-extensions (0.1.5)
|
352
|
+
xpath (3.2.0)
|
353
|
+
nokogiri (~> 1.8)
|
354
|
+
zeitwerk (2.7.1)
|
355
|
+
|
356
|
+
PLATFORMS
|
357
|
+
aarch64-linux
|
358
|
+
aarch64-linux-gnu
|
359
|
+
aarch64-linux-musl
|
360
|
+
arm-linux-gnu
|
361
|
+
arm-linux-musl
|
362
|
+
x86_64-darwin-21
|
363
|
+
x86_64-linux
|
364
|
+
x86_64-linux-gnu
|
365
|
+
x86_64-linux-musl
|
366
|
+
|
367
|
+
DEPENDENCIES
|
368
|
+
bootsnap
|
369
|
+
brakeman
|
370
|
+
capybara
|
371
|
+
debug
|
372
|
+
importmap-rails
|
373
|
+
jbuilder
|
374
|
+
kamal
|
375
|
+
propshaft
|
376
|
+
puma (>= 5.0)
|
377
|
+
rails (~> 8.0.1)
|
378
|
+
rubocop-rails-omakase
|
379
|
+
selenium-webdriver
|
380
|
+
solid_cable
|
381
|
+
solid_cache
|
382
|
+
solid_queue
|
383
|
+
sqlite3 (>= 2.1)
|
384
|
+
stimulus-rails
|
385
|
+
thruster
|
386
|
+
turbo-rails
|
387
|
+
tzinfo-data
|
388
|
+
web-console
|
389
|
+
|
390
|
+
RUBY VERSION
|
391
|
+
ruby 3.4.1p0
|
392
|
+
|
393
|
+
BUNDLED WITH
|
394
|
+
2.6.2
|
data/website/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 Riccardo Odone
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/website/README.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# HotDocs: Write your docs with Ruby on Rails
|
2
|
+
|
3
|
+
<div align="center">
|
4
|
+
<img width="200" width="200" src=".github/images/hot_docs.svg" />
|
5
|
+
</div>
|
6
|
+
|
7
|
+
Let's stop the JavaScript madness:
|
8
|
+
|
9
|
+
HotDocs is a set of optimized Rails components & tools for writing docs:
|
10
|
+
- Write your docs from scratch (with the starter-kit)
|
11
|
+
- Embed docs in your Rails app (with the components)
|
12
|
+
|
13
|
+
[**Get Started**](https://hotdocsrails.com)
|
14
|
+
|
15
|
+
## Comparison
|
16
|
+
|
17
|
+
| Feature | HotDocs | Jekyll | Docusaurus |
|
18
|
+
|-----------------------------------------------------------|---------|--------|------------|
|
19
|
+
| Ruby on Rails (database, Hotwire, etc.) | ✅ | ❌ | ❌ |
|
20
|
+
| Embed docs in an existing Rails app | ✅ | ❌ | ❌ |
|
21
|
+
| Standalone docs | ✅ | ✅ | ✅ |
|
22
|
+
| Styled components you can customize | ✅ | ✅ | ✅ |
|
23
|
+
| Markdown | 🚀 | 👍 | 🚀 |
|
24
|
+
| Static export | 🔜 🚀 | 👍 | 🚀 |
|
25
|
+
| Search | 🔜 ✅ | 🔌 | 🔌 |
|
26
|
+
| Light / Dark | 🔜 ✅ | 🔌 | ✅ |
|
27
|
+
| Open source | ✅ | ✅ | ✅ |
|
28
|
+
| Free (if you keep the "Built with HotDocs" in the footer) | ✅ | ✅ | ✅ |
|
29
|
+
|
30
|
+
**Anything missing? Suggestions?** See how to contribute below.
|
31
|
+
|
32
|
+
## Demo
|
33
|
+
|
34
|
+
HotDocs uses itself for its docs: [check the demo out](https://hotdocsrails.com).
|
35
|
+
|
36
|
+
## Development
|
37
|
+
|
38
|
+
In its current state, HotDocs is a Rails app. Run it with:
|
39
|
+
|
40
|
+
```bash
|
41
|
+
bin/setup
|
42
|
+
```
|
43
|
+
|
44
|
+
## Contributing
|
45
|
+
|
46
|
+
Let's create a Rails alternative to (just) Ruby and JavaScript docs frameworks:
|
47
|
+
- Chime in the [discussions](https://github.com/3v0k4/hot_docs/discussions) with your feedback and wishes
|
48
|
+
- Open an [issue](https://github.com/3v0k4/hot_docs/issues)
|
49
|
+
- Submit a [pull request](https://github.com/3v0k4/hot_docs/pulls)
|
data/website/Rakefile
ADDED
File without changes
|
Binary file
|
Binary file
|