Git Product home page Git Product logo

Comments (9)

olleolleolle avatar olleolleolle commented on June 30, 2024

Peeking at the generated source code, I saw this:

bild

<p><!-- raw HTML omitted -->Java method<!-- raw HTML omitted --></p>

from docs.

mpkorstanje avatar mpkorstanje commented on June 30, 2024

The whole of https://docs.cucumber.io/ is broken too.

from docs.

mpkorstanje avatar mpkorstanje commented on June 30, 2024

Looks like: https://discourse.gohugo.io/t/raw-html-getting-omitted-in-0-60-0/22032 ?

from docs.

mpkorstanje avatar mpkorstanje commented on June 30, 2024

Logs from the last Netlify Run

7:53:21 PM: build-image version: d55944c047ef0aee2ac01971edde72cb2a50acfe (focal)
7:53:21 PM: build-image tag: v4.16.1
7:53:21 PM: buildbot version: 0be68edd034c744ad79b207db44f42646b4e8ecb
7:53:21 PM: Fetching cached dependencies
7:53:21 PM: Starting to download cache of 167.1MB
7:53:23 PM: Finished downloading cache in 1.832946451s
7:53:23 PM: Starting to extract cache
7:53:24 PM: Finished extracting cache in 770.348687ms
7:53:24 PM: Finished fetching cache in 2.653995725s
7:53:24 PM: Starting to prepare the repo for build
7:53:24 PM: Preparing Git Reference refs/heads/main
7:53:24 PM: Parsing package.json dependencies
7:53:26 PM: Starting build script
7:53:26 PM: Installing dependencies
7:53:26 PM: Python version set to 2.7
7:53:26 PM: Started restoring cached node version
7:53:26 PM: Finished restoring cached node version
7:53:27 PM: v10.24.1 is already installed.
7:53:27 PM: Now using node v10.24.1 (npm v6.14.12)
7:53:27 PM: Started restoring cached build plugins
7:53:27 PM: Finished restoring cached build plugins
7:53:27 PM: Required ruby-3.2.0 is not installed.
7:53:27 PM: To install do: 'rvm install "ruby-3.2.0"'
7:53:27 PM: Attempting ruby version 3.2.0, read from .ruby-version file
7:53:27 PM: Started restoring cached ruby version
7:53:27 PM: Finished restoring cached ruby version
7:53:28 PM: Using ruby version 3.2.0
7:53:28 PM: Using PHP version 8.0
7:53:28 PM: Started restoring cached ruby gems
7:53:28 PM: Finished restoring cached ruby gems
7:53:28 PM: Installing gem bundle
7:53:28 PM: [DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path '/opt/build/cache/bundle'`, and stop using this flag
7:53:28 PM: [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs --all`
7:53:28 PM: [DEPRECATED] This Gemfile does not include an explicit global source. Not using an explicit global source may result in a different lockfile being generated depending on the gems you have installed locally before bundler is run. Instead, define a global source in your Gemfile like this: source "https://rubygems.org".
7:53:29 PM: Fetching gem metadata from https://rubygems.org/.......
7:53:29 PM: Resolving dependencies...
7:53:29 PM: Using public_suffix 5.0.1
7:53:29 PM: Using bundler 2.4.1
7:53:29 PM: Using mercenary 0.4.0
7:53:29 PM: Using racc 1.6.2
7:53:29 PM: Using parallel 1.22.1
7:53:29 PM: Using rainbow 3.1.1
7:53:29 PM: Using yell 2.2.2
7:53:29 PM: Using zeitwerk 2.6.6
7:53:29 PM: Using ffi 1.15.5
7:53:29 PM: Using mini_portile2 2.8.1
7:53:29 PM: Using addressable 2.8.1
7:53:29 PM: Using ethon 0.16.0
7:53:29 PM: Using typhoeus 1.4.0
7:53:29 PM: Using nokogiri 1.13.10
7:53:29 PM: Using html-proofer 4.4.3
7:53:29 PM: Bundle complete! 1 Gemfile dependency, 15 gems now installed.
7:53:29 PM: Bundled gems are installed into `/opt/build/cache/bundle`
7:53:29 PM: 1 installed gem you directly depend on is looking for funding.
7:53:29 PM:   Run `bundle fund` for details
7:53:29 PM: Gem bundle installed
7:53:29 PM: Started restoring cached yarn cache
7:53:29 PM: Finished restoring cached yarn cache
7:53:29 PM: No yarn workspaces detected
7:53:29 PM: Started restoring cached node modules
7:53:29 PM: Finished restoring cached node modules
7:53:29 PM: Installing NPM modules using Yarn version 1.17.0
7:53:30 PM: yarn install v1.17.0
7:53:30 PM: [1/4] Resolving packages...
7:53:30 PM: [2/4] Fetching packages...
7:53:30 PM: [3/4] Linking dependencies...
7:53:30 PM: [4/4] Building fresh packages...
7:53:30 PM: Done in 0.64s.
7:53:30 PM: NPM modules installed using Yarn
7:53:30 PM: Started restoring cached go cache
7:53:30 PM: Finished restoring cached go cache
7:53:30 PM: Installing Go version 1.12 (requested 1.12)
7:53:34 PM: unset GOOS;
7:53:34 PM: unset GOARCH;
7:53:34 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
7:53:34 PM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
7:53:34 PM: go version >&2;
7:53:34 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.12.linux.amd64.env"
7:53:34 PM: go version go1.12 linux/amd64
7:53:34 PM: Detected 2 framework(s)
7:53:35 PM: "hugo" at version "unknown"
7:53:35 PM: "zola" at version "unknown"
7:53:35 PM: Installing missing commands
7:53:35 PM: Verify run directory
7:53:35 PM: Section completed: initializing
7:53:36 PM: ​
7:53:36 PM:   Netlify Build                                                 
7:53:36 PM: ────────────────────────────────────────────────────────────────
7:53:36 PM: ​
7:53:36 PM: ❯ Version
7:53:36 PM:   @netlify/build 29.2.1
7:53:36 PM: ​
7:53:36 PM: ❯ Flags
7:53:36 PM:   baseRelDir: true
7:53:36 PM:   buildId: 63ac90a0d49e1c00092a61c1
7:53:36 PM:   deployId: 63ac90a0d49e1c00092a61c3
7:53:36 PM: ​
7:53:36 PM: ❯ Current directory
7:53:36 PM:   /opt/build/repo
7:53:36 PM: ​
7:53:36 PM: ❯ Config file
7:53:36 PM:   No config file was defined: using default values.
7:53:36 PM: ​
7:53:36 PM: ❯ Context
7:53:36 PM:   production
7:53:37 PM: Starting post processing
7:53:36 PM: ​
7:53:36 PM:   1. Build command from Netlify app                             
7:53:36 PM: ────────────────────────────────────────────────────────────────
7:53:37 PM: Post processing - HTML
7:53:36 PM: ​
7:53:36 PM: $ make
7:53:36 PM: hugo
7:53:36 PM: WARN 2022/12/28 18:53:36 Unknown Sitemap field: pygmentscodefences
7:53:36 PM: WARN 2022/12/28 18:53:36 Unknown Sitemap field: pygmentsuseclasses
7:53:36 PM: WARN 2022/12/28 18:53:36 Unknown Sitemap field: pygmentsuseclassic
7:53:36 PM: Start building sites …
7:53:36 PM: hugo v0.85.0-724D5DB5+extended linux/amd64 BuildDate=2021-07-05T10:46:28Z VendorInfo=gohugoio
7:53:36 PM: Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.
7:53:36 PM: Page.URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url
7:53:36 PM: Page.Dir is deprecated and will be removed in a future release. Use .File.Dir
7:53:36 PM: .File.Path on zero object. Wrap it in if or with: {{ with .File }}{{ .Path }}{{ end }}
7:53:37 PM: Post processing - header rules
7:53:36 PM:                    | EN
7:53:36 PM: -------------------+------
7:53:36 PM:   Pages            | 105
7:53:37 PM: Post processing - redirect rules
7:53:36 PM:   Paginator pages  |   0
7:53:36 PM:   Non-page files   |  17
7:53:36 PM:   Static files     |  68
7:53:36 PM:   Processed images |   0
7:53:38 PM: Post processing done
7:53:36 PM:   Aliases          |   0
7:53:36 PM:   Sitemaps         |   1
7:53:36 PM:   Cleaned          |   0
7:53:38 PM: Section completed: postprocessing
7:53:36 PM: Total in 461 ms
7:53:36 PM: ​
7:53:36 PM: (build.command completed in 500ms)
7:53:36 PM: ​
7:53:36 PM:   2. Deploy site                                                
7:53:36 PM: ────────────────────────────────────────────────────────────────
7:53:36 PM: ​
7:53:36 PM: Starting to deploy site from 'public'
7:53:36 PM: Creating deploy tree 
7:53:37 PM: 0 new files to upload
7:53:37 PM: 0 new functions to upload
7:53:37 PM: Section completed: deploying
7:53:37 PM: Site deploy was successfully initiated
7:53:37 PM: ​
7:53:37 PM: (Deploy site completed in 169ms)
7:53:37 PM: ​
7:53:37 PM:   Netlify Build Complete                                        
7:53:37 PM: ────────────────────────────────────────────────────────────────
7:53:37 PM: ​
7:53:37 PM: (Netlify Build completed in 691ms)
7:53:37 PM: Caching artifacts
7:53:37 PM: Started saving ruby gems
7:53:37 PM: Finished saving ruby gems
7:53:37 PM: Started saving node modules
7:53:37 PM: Finished saving node modules
7:53:37 PM: Started saving build plugins
7:53:37 PM: Finished saving build plugins
7:53:37 PM: Started saving yarn cache
7:53:37 PM: Finished saving yarn cache
7:53:37 PM: Started saving pip cache
7:53:37 PM: Finished saving pip cache
7:53:37 PM: Started saving emacs cask dependencies
7:53:37 PM: Finished saving emacs cask dependencies
7:53:37 PM: Started saving maven dependencies
7:53:37 PM: Finished saving maven dependencies
7:53:37 PM: Started saving boot dependencies
7:53:37 PM: Finished saving boot dependencies
7:53:37 PM: Started saving rust rustup cache
7:53:37 PM: Finished saving rust rustup cache
7:53:37 PM: Started saving go dependencies
7:53:37 PM: Finished saving go dependencies
7:53:37 PM: Build script success
7:53:37 PM: Section completed: building
7:53:38 PM: Uploading Cache of size 167.2MB
7:53:39 PM: Section completed: cleanup
7:53:39 PM: Finished processing build request in 17.687623606s
7:53:41 PM: Site is live ✨

I guess our Hugo go updated somewhere?

from docs.

olleolleolle avatar olleolleolle commented on June 30, 2024

#815

Noting some Bundler warnings, I moved quickly, to get those out of the way.

To get the fix for Hugo, it seems like a single setting, mentioned in the link provided above.

from docs.

mpkorstanje avatar mpkorstanje commented on June 30, 2024

Yeah, I don't really understand what Netlify does though. Looks like they're kicking of every build process they can find?

from docs.

mpkorstanje avatar mpkorstanje commented on June 30, 2024

I also don't really understand what the setting does. Is there a way to use HTML that isn't "raw"?

from docs.

olleolleolle avatar olleolleolle commented on June 30, 2024

@mpkorstanje you are in the majority, and the setting seems to be "a little stricter than regular Markdown, the superset of HTML" and when not enabled just allow the Markdown-created markup, and not regular HTML tags.

from docs.

mpkorstanje avatar mpkorstanje commented on June 30, 2024

Fixed.

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.