Skip to content
Draft
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 .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- 24.15 # latest LTS version ('node' will give latest version, 'lts/*' will give LTS version )
- 20.9 # latest LTS version ('node' will give latest version, 'lts/*' will give LTS version )
arch: amd64 # optional, this is default, routes to a full VM
# arch: arm64 # this is the recommended LXD container - faster spin up but some limitations Not used as it seems very unstable.
os: linux # optional, this is default
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Mendix Documentation [![hugo_badge](https://img.shields.io/badge/hugo-0.156.0-green.svg)](https://gohugo.io/) [![node_badge](https://img.shields.io/badge/node-24.15.0-green.svg)](https://nodejs.org/en/) [![docsy_badge](https://img.shields.io/badge/docsy-0.15.0-green.svg)](https://www.docsy.dev/)
# Mendix Documentation [![hugo_badge](https://img.shields.io/badge/hugo-0.126.1-green.svg)](https://gohugo.io/) [![node_badge](https://img.shields.io/badge/node-20.9.0-green.svg)](https://nodejs.org/en/) [![docsy_badge](https://img.shields.io/badge/docsy-0.10.0-green.svg)](https://www.docsy.dev/)

This repository contains the Mendix documentation, which is served on [https://docs.mendix.com](https://docs.mendix.com).

Build status:

* production [![Build Status](https://app.travis-ci.com/mendix/docs.svg?branch=production)](https://app.travis-ci.com/github/mendix/docs)
* development [![Build Status](https://app.travis-ci.com/mendix/docs.svg?branch=development)](https://app.travis-ci.com/github/mendix/docs)
* production [![Build Status](https://secure.travis-ci.org/mendix/docs.png?branch=production)](https://app.travis-ci.com/github/mendix/docs)
* development [![Build Status](https://secure.travis-ci.org/mendix/docs.png?branch=development)](https://app.travis-ci.com/github/mendix/docs)

## Contribute

Expand Down
12 changes: 2 additions & 10 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
max-width: 90%; // NK - fixed width of all content to 90%

p, li, td {
font-weight: $td-font-weight-body-text;
font-weight: $font-weight-body-text;
}

// NK - custom additions for margin styling in lists
Expand Down Expand Up @@ -339,23 +339,16 @@ img {
// Hugo's ToC is a mouthful, this can be used to style the top level h2 entries.
> ul > li > ul > li > a {}

// Override Docsy 0.15+ which makes ToC bold by default
> ul > li > :not(ul) {
font-weight: $font-weight-normal;
}

a {
// NK - styling for ToC
color: $gray-800;
padding-left: 20px;
padding-bottom: .25rem;
padding-top: .25rem;

&:hover,
&:focus {
&:hover {
color: $link-hover-color;
text-decoration: underline;
background-color: transparent; // Override Docsy 0.15+ hover background
}
}

Expand Down Expand Up @@ -416,7 +409,6 @@ img {

.td-sidebar {
@include media-breakpoint-up(md) {
margin-top: 0; // Olu - removed docsy margin to align sidebar to top of page
padding-top: 5.25rem; // DB – aligns with .td-main main padding-top
background-color: $td-sidebar-bg-color;
padding-right: 1rem;
Expand Down
50 changes: 42 additions & 8 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ languageCode = "en-us"

disableKinds = ["taxonomy", "term"]

# Disable taxonomy definitions entirely to prevent GetTerms processing
[taxonomies]

# Image processing configuration. (Do we use this - probably not?)
[imaging]
resampleFilter = "CatmullRom"
Expand All @@ -42,10 +45,24 @@ disableKinds = ["taxonomy", "term"]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.goldmark.extensions.typographer]
# Disable typographic replacements, such as smart quotes. MvM - Changed to disable=true to avoid issues with quotes being mismatched.
# See https://gohugo.io/configuration/markup/
disable = true
[markup.goldmark.extensions]
# Disable Goldmark Extras extensions introduced in Hugo v0.128.0
# These scan all markdown files and may cause performance issues
[markup.goldmark.extensions.extras]
[markup.goldmark.extensions.extras.delete]
enable = false
[markup.goldmark.extensions.extras.insert]
enable = false
[markup.goldmark.extensions.extras.mark]
enable = false
[markup.goldmark.extensions.extras.subscript]
enable = false
[markup.goldmark.extensions.extras.superscript]
enable = false
[markup.goldmark.extensions.typographer]
# Disable typographic replacements, such as smart quotes. MvM - Changed to disable=true to avoid issues with quotes being mismatched.
# See https://gohugo.io/configuration/markup/
disable = true
[markup.highlight]
# See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html
# See config options at https://gohugo.io/getting-started/configuration-markup/#highlight
Expand All @@ -59,13 +76,17 @@ disableKinds = ["taxonomy", "term"]
startLevel = 2

[module]
replacements = "github.com/FortAwesome/Font-Awesome -> @fortawesome/fontawesome-free, github.com/twbs/bootstrap -> bootstrap"
replacements = "github.com/FortAwesome/Font-Awesome -> ., github.com/twbs/bootstrap -> ."

# Comment out if you don't want the "print entire section" link enabled.
# DB - Performance optimization: Removed "print" output to halve page generation
# Generates 8,487 pages instead of 16,974 pages (2× speed improvement)
[outputs]
section = ["HTML", "print"]
# MvM - add line below to print every page
page = ["HTML", "print"]
section = ["HTML"]
page = ["HTML"]
# Uncomment to enable print versions:
# section = ["HTML", "print"]
# page = ["HTML", "print"]

# MvM - add line below to activate production of RSS pages
[outputFormats]
Expand All @@ -86,6 +107,19 @@ replacements = "github.com/FortAwesome/Font-Awesome -> @fortawesome/fontawesome-
[minify]
minifyOutput = false

# DB - Performance optimization for Hugo v0.128.0+
[build]
# Use resource cache aggressively for faster builds
useResourceCacheWhen = "always"
# Disable build stats generation (saves processing time)
[build.buildStats]
enable = false

# Disable HTTP cache feature introduced in Hugo v0.127.0
[httpCache]
[[httpCache.polls]]
disable = true

# Everything below this are Site Params
# ======================================
# These are mainly (all?) Docsy settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "Use Call REST Service Action in a Microflow"
url: /refguide/integration/use-call-rest-action-in-microflow/
weight: 15
description: "Describes how to integrate an existing system or a legacy system into a Mendix app by calling a REST service in a microflow."
description: "Describes how to integrate an existing system or a legacy system into a Mendix app by calling a REST service in a microflow. "
description: "Describes how to get information from a REST service."
aliases:
- /howto/integration/consume-a-rest-service/
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Image Uploader"
url: /refguide/image-uploader/
weight: 50
weight: 50
#If moving or renaming this doc file, implement a temporary redirect and let the respective team know they should update the URL in the product. See Mapping to Products for more details.
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: "Use Call REST Service Action in a Microflow"
url: /refguide10/integration/use-call-rest-action-in-microflow/
weight: 15
description: "Describes how to integrate an existing system or a legacy system into a Mendix app by calling a REST service in a microflow."
description: "Describes how to get information from a REST service."
aliases:
- /howto10/integration/consume-a-rest-service/
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Image Uploader"
url: /refguide10/image-uploader/
weight: 50
weight: 50
#If moving or renaming this doc file, implement a temporary redirect and let the respective team know they should update the URL in the product. See Mapping to Products for more details.
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Consume a REST Service"
url: /refguide9/integration/consume-a-rest-service/
weight: 9
description: "Describes how to integrate an existing system or a legacy system into a Mendix app by calling a REST service in a microflow."
description: "Describes how to get information from a REST service."
aliases:
- /howto9/integration/consume-a-rest-service/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Image Uploader"
url: /refguide9/image-uploader/
weight: 50
weight: 50
#If moving or renaming this doc file, implement a temporary redirect and let the respective team know they should update the URL in the product. See Mapping to Products for more details.
---

Expand Down
3 changes: 0 additions & 3 deletions layouts/docs/single.html

This file was deleted.

2 changes: 1 addition & 1 deletion layouts/partials/feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2 class="feedback--title">Feedback</h2>
<button class="btn btn-primary mb-4 feedback--answer feedback--answer-yes">Yes</button>
<button class="btn btn-primary mb-4 feedback--answer feedback--answer-no">No</button>
<p class="feedback--response feedback--response-yes">
{{ .Site.Params.ui.feedback.yes | safeHTML }}
{{ .yes | safeHTML }}
</p>
<p class="feedback--response feedback--response-no">
Sorry to hear that. Please <a class="feedback--link" target="_blank" href="">tell us how we can improve</a>.
Expand Down
Loading