Skip to content

Commit

Permalink
fix workflow for submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
lefessan committed Sep 14, 2023
1 parent 71d688b commit bf8fd17
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .drom
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ version:0.9.0

# hash of toml configuration files
# used for generation of all files
c6ace88d19f3763a350e4a04f2928196:.
e826f3f68255dde9040054031ea84063:.
# end context for .

# begin context for .github/workflows/workflow.yml
# file .github/workflows/workflow.yml
dec859d35759b2ae3af7975eb7e00f2e:.github/workflows/workflow.yml
dd69a97e5bf6ece8ff713acb50c1c71b:.github/workflows/workflow.yml
# end context for .github/workflows/workflow.yml

# begin context for .gitignore
Expand Down Expand Up @@ -245,7 +245,7 @@ a4431c32911b7499fbdc49e2e62932d2:sphinx/about.rst

# begin context for sphinx/conf.py
# file sphinx/conf.py
6bf90eb136d7e3eb588a87a4f0c39c35:sphinx/conf.py
0f6a35278b93d5d9ceca6431677766e6:sphinx/conf.py
# end context for sphinx/conf.py

# begin context for sphinx/index.rst
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ jobs:

# Use fields.github-workflow-before-build to add something here

- run: git submodule init

- run: git submodule update


- run: make build

# Use fields.github-workflow-after-build to add something here
Expand Down
12 changes: 10 additions & 2 deletions drom.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ of the superbol-vscode-platform OCaml project
"""

[project]
skip = ["@test", "@ocamlformat", "@ocp-indent", "README.md"]
skip = ["@test", "@ocamlformat", "@ocp-indent", "README.md", "sphinx/about.rst", "LICENSE.md"]

# project-wide library dependencies (not for package-specific deps)
[dependencies]
Expand All @@ -51,7 +51,7 @@ for-test = true
[project]

# dirs to skip while scanning for dune files
skip-dirs = ["node_modules"]
skip-dirs = ["node_modules" ]

# dirs to scan for share/ folders (with package names)
share-dirs = ["share"]
Expand Down Expand Up @@ -85,6 +85,14 @@ ATTIC
!.vscode/launch.json
*.vsix
"""
github-workflow-before-build = """
- run: git submodule init
- run: git submodule update
"""


[[package]]
dir = "src/vscode/superbol-vscode-platform"
Expand Down
16 changes: 8 additions & 8 deletions sphinx/conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# superbol-vscode-platform documentation build configuration file, created by
# superbol documentation build configuration file, created by
# sphinx-quickstart.
#
# This file is execfile()d with the current directory set to its
Expand Down Expand Up @@ -50,9 +50,9 @@
master_doc = 'index'

# General information about the project.
project = 'superbol-vscode-platform'
project = 'superbol'
copyright = 'OCamlPro SAS'
author = 'Fabrice Le Fessant <[email protected]> & Emilien Lemaire <[email protected]>'
author = 'Nicolas Berthier <[email protected]> & David Declerck <[email protected]> & Fabrice Le Fessant <[email protected]> & Emilien Lemaire <[email protected]>'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -167,7 +167,7 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'superbol-vscode-platform.tex', 'superbol-vscode-platform Documentation',
(master_doc, 'superbol.tex', 'superbol Documentation',
'author', 'manual'),
]

Expand All @@ -177,7 +177,7 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'superbol-vscode-platform', 'superbol-vscode-platform Documentation',
(master_doc, 'superbol', 'superbol Documentation',
[author], 1)
]

Expand All @@ -188,8 +188,8 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'superbol-vscode-platform', 'superbol-vscode-platform Documentation',
author, 'superbol-vscode-platform', 'One line description of project.',
(master_doc, 'superbol', 'superbol Documentation',
author, 'superbol', 'One line description of project.',
'Miscellaneous'),
]

Expand Down Expand Up @@ -220,4 +220,4 @@

# entry point for setup
def setup(app):
app.add_stylesheet('css/fixes.css')
app.add_css_file('css/fixes.css')

0 comments on commit bf8fd17

Please sign in to comment.