Skip to content
Open
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
7 changes: 4 additions & 3 deletions .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 )
- 22.21 # 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 Expand Up @@ -42,6 +42,8 @@ cache:
# See https://docs.travis-ci.com/user/caching/
directories:
- node_modules
- resources # Hugo's :resourceDir/_gen for processed assets and images
- /home/travis/.cache/hugo_cache # Hugo's :cacheDir for modules and misc

before_install:
###############
Expand Down Expand Up @@ -159,5 +161,4 @@ after_deploy:

after_script:
############# Skipped
# Anything placed here gets folded by Travis, so can't output useful information :-(.

# Anything placed here gets folded by Travis, so can't output useful information :-(.
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
9 changes: 5 additions & 4 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title = "Mendix Documentation"

enableRobotsTXT = true


# Hugo allows theme composition (and inheritance). The precedence is from left to right.
theme = ["docsy"]
themesDir = "node_modules"
Expand All @@ -12,15 +13,15 @@ themesDir = "node_modules"
refLinksErrorLevel = "WARNING"

# Will give values to .Lastmod etc.
enableGitInfo = true
enableGitInfo = false

# Language settings
contentDir = "content/en"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
# Useful when translating.
enableMissingTranslationPlaceholders = true
languageCode = "en-us"
locale = "en-us" # Renamed from languageCode (deprecated in Hugo v0.158.0)

disableKinds = ["taxonomy", "term"]

Expand All @@ -34,7 +35,7 @@ disableKinds = ["taxonomy", "term"]

[languages]
[languages.en]
languageName ="English"
label = "English" # Renamed from languageName (deprecated in Hugo v0.158.0)
# Weight used for sorting.
weight = 1

Expand All @@ -59,7 +60,7 @@ 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.
[outputs]
Expand Down
5 changes: 5 additions & 0 deletions config/development/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ title = "Mendix DEVELOPMENT Documentation"
buildDrafts=true
buildExpired=true
buildFuture=true

[markup.goldmark.renderHooks.image]
enableDefault = false
[markup.goldmark.renderHooks.link]
enableDefault = false
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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 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,7 +2,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,7 +2,7 @@
title: "Consume a REST Service"
url: /refguide9/integration/consume-a-rest-service/
weight: 9
description: "Describes how to get information from a REST service."
description: "Describes how to integrate an existing system or a legacy system into a Mendix app by calling a REST service in a microflow."
aliases:
- /howto9/integration/consume-a-rest-service/
---
Expand Down
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions layouts/docs/single.html

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion layouts/swagger/single.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{ define "main" }}
{{ .Render "content" }}
{{ .Render "_td-content" }}
{{ end }}
Loading
Loading