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

devcontainer and fixes #650

Merged
merged 7 commits into from
Jan 12, 2025
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
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/jekyll
{
"name": "Jekyll",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/jekyll:2-bullseye"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "jekyll --version"

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
gem "just-the-docs", "~> 0.7.0", :platforms => [:jruby]
gem "http_parser.rb", "~> 0.6.0"
gem "just-the-docs", "~> 0.7.0"
gem "jekyll-remote-theme", "~> 0.4.3"
gem "sass-embedded", "~> 1.78.0" # https://github.com/just-the-docs/just-the-docs/issues/1541#issuecomment-2401649789
90 changes: 0 additions & 90 deletions Gemfile.lock

This file was deleted.

2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
serve:
bundle exec jekyll serve --livereload
6 changes: 4 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ exclude:
remote_theme: just-the-docs/just-the-docs@v0.7.0
plugins:
- jekyll-feed
- jekyll-remote-theme

# Exclude from processing.
# The following items will not be processed, by default.
Expand Down Expand Up @@ -108,8 +109,6 @@ nav_sort: case_sensitive # Capital letters sorted before lowercase
back_to_top: true
back_to_top_text: "Back to top"

footer_content: "Copyright © 2024 CluedIn."

# Footer last edited timestamp
last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter
last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html
Expand All @@ -123,3 +122,6 @@ kramdown:
block:
line_numbers: false
enable_copy_code_button: true

sass:
quiet_deps: true # https://github.com/just-the-docs/just-the-docs/issues/1541#issuecomment-2401649789
1 change: 1 addition & 0 deletions _includes/footer_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p class="text-small text-grey-dk-100 mb-0">Copyright © {{ site.time | date: '%Y' }} CluedIn.</p>
2 changes: 1 addition & 1 deletion _layouts/cluedin.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
---

<script src="assets/js/card.js"></script>
<script src="/assets/js/card.js"></script>

<div>
{% if page.headerIcon == "paas" %}
Expand Down
23 changes: 23 additions & 0 deletions feed.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
<link href="{{site.url}}"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<author>
<name>CluedIn</name>
</author>
<id>{{ site.url }}/</id>
{% assign pages = site.pages | where_exp: "item", "item.last_modified" | sort: "last_modified" | limit: 10 %}
{% for page in pages %}
<entry>
<title>{{page.title | xml_escape}}</title>
<link href="{{site.url}}{{page.permalink}}" />
<id>{{site.url}}/{{page.permalink}}</id>
<updated>{{page.last_modified | date_to_xmlschema}}</updated>
<summary>{{page.title | xml_escape}}. Tags: {{ page.tags | join: ", " }}.</summary>
</entry>
{% endfor %}
</feed>