Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor documentation #16

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/retype-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: retypeapp/action-build@latest

Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ gemspec

gem "gem-release"
gem "simplecov_json_formatter"
gem "sqlite3", "~> 1.4.0"
9 changes: 7 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
require "bundler/gem_tasks"
require "appraisal"
require "rspec/core/rake_task"
require "rubocop/rake_task"
require "standard/rake"

RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new

desc "Run the full CI"
task :default do
if ENV["APPRAISAL_INITIALIZED"]
RSpec::Core::RakeTask.new(:spec)
Rake::Task["spec"].invoke
else
# FYI: Standard & appraisal requires each a spawn process.
Expand All @@ -20,8 +24,9 @@ task :default do
# report offenses from other plugins putted in .rubocop_todo.yml
# https://github.com/testdouble/standard/issues/480

fail unless system "bundle exec appraisal install"
fail unless system "bundle exec appraisal rspec"
fail unless system "bundle exec rubocop"
fail unless system "bundle exec standardrb"
fail unless system "bundle exec rake standard"
end
end
5 changes: 5 additions & 0 deletions docs/documentation/index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
icon: book-24
label: Documentation
order: -2
expanded: true

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 2 additions & 5 deletions docs/index.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
icon: book-24
label: Documentation
order: -2
expanded: true

title: Overview
icon: home
2 changes: 0 additions & 2 deletions index.yml

This file was deleted.

2 changes: 1 addition & 1 deletion retype.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
input: .
input: ./docs
output: .retype
url: https://solutions-territoire.github.io/caoutsearch

Expand Down
Loading