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

PROMO-251: Connect OpenGraph plugin to Docusaurus [part2; split of PR-368] #375

Merged
merged 14 commits into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ const plugins = [
],
process.env.HOTJAR_ID && "docusaurus-plugin-hotjar", // For preventing crashing
[
path.resolve(__dirname, "./plugins/docusaurus-plugin-open-graph-image"),
path.resolve(__dirname, "./plugins/docusaurus-plugin-og"),
{
templatesDir: path.resolve(__dirname, "config/og"),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { Logger } = require("./utils");

module.exports = function (_, { templatesDir }) {
return {
name: "docusaurus-plugin-open-graph-image",
name: "docusaurus-plugin-og",
Krakazybik marked this conversation as resolved.
Show resolved Hide resolved
async postBuild({ plugins, outDir, i18n }) {
Logger.info(`OG: work in progress.`);

Expand Down