Skip to content

Documentation build: Partial "header.html" not found #3306

Closed
@AlbertoGP

Description

@AlbertoGP
  • Gitea version (or commit ref): a192f30
  • Git version: 2.14.1
  • Operating system: Ubuntu Linux 17.10
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Trying to build documentation, installed hugo v0.32.2, went to "go/src/code.gitea.io/gitea/docs", ran make server as instructed by the "README.md" file, and it failed as follows:

22:01:01 docs$ make server
hugo server
Building sites … ERROR 2018/01/05 22:01:02 Error while rendering "home" in "": template: index.html:1:3: executing "index.html" at <partial "header.html...>: error calling partial: Partial "header.html" not found

                   | EN-US | ZH-CN | ZH-TW | PT-BR | NL-NL | FR-FR  
+------------------+-------+-------+-------+-------+-------+-------+
  Pages            |     5 |     5 |     5 |     3 |     3 |     5  
  Paginator pages  |     0 |     0 |     0 |     0 |     0 |     0  
  Non-page files   |     0 |     0 |     0 |     0 |     0 |     0  
  Static files     |     1 |     1 |     1 |     1 |     1 |     1  
  Processed images |     0 |     0 |     0 |     0 |     0 |     0  
  Aliases          |     1 |     1 |     1 |     1 |     1 |     1  
  Sitemaps         |     2 |     1 |     1 |     1 |     1 |     1  
  Cleaned          |     0 |     0 |     0 |     0 |     0 |     0  

Total in 75 ms
Watching for changes in /home/alberto/stor/Software/go/src/code.gitea.io/gitea/docs/{content,layouts,static}
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
^CMakefile:18: recipe for target 'server' failed
make: *** [server] Interrupt

Is there anything else I need to run beforehand that will generate that missing file?

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions