Skip to content
Merged
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
11 changes: 5 additions & 6 deletions copier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ github_user:
help: "What is the name of the GitHub user or organisation where the repository will be or is stored?"
default: "{{ 'seedcase-project' if is_seedcase_project else '' }}"

github_repo:
type: str
help: "What is the name of the GitHub repository where the website will be or is stored? We strongly recommend using the default given."
default: "{{ _folder_name }}"

hosting_provider:
type: str
help: "What hosting provider will you use for the documentation website?"
Expand Down Expand Up @@ -93,12 +98,6 @@ github_board_number:
{% endif %}

# Configurations not asked

github_repo:
type: str
default: "{{ _copier_conf.dst_path | realpath | basename }}"
when: false

github_repo_snake_case:
type: str
default: "{{github_repo | replace('-', '_') | replace('.', '_')}}"
Expand Down
2 changes: 1 addition & 1 deletion template/{{_copier_conf.answers_file}}.jinja
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
{{ dict(_copier_answers, github_repo=github_repo, copyright_year=copyright_year) | to_nice_yaml -}}
{{ dict(_copier_answers, copyright_year=copyright_year) | to_nice_yaml -}}
Loading