Macro shows "This file is empty"
What you are seeing
The macro shows "This file is empty".
#Why it happens
The file really is empty (zero bytes). Every viewer sees this message, rather than a blank space or a diagram that never finishes loading.
#What to do
Check the file in GitHub. It is genuinely empty on the branch you configured.
#Settings involved
Setting | Where | What it does |
|---|---|---|
Hide GitHub across the whole site | App property | Hides GitHub from the Capable byline menu for the whole site. It only affects that menu: existing GitHub macros keep showing on pages. |
Turn GitHub on or off per space | Space property | alwaysOff hides GitHub from the byline menu in that space. alwaysOn shows it even on pages with no GitHub macro. Again, the menu only: macros still show. |
Unlicensed and anonymous access | Not user-configurable | Readers without a licence, or who are signed out entirely, can still see public file content in a read-only view. They do not get the Github entry in the byline menu. |
#Limits that apply here
Limit | Value | What happens |
|---|---|---|
Public repository search shows the first page only | - | Public search runs only when you type a query, and only for the first page. Paging further shows just your own repositories. |
Image display height | 800px | Images are shown up to this height. |
Code viewer height | 600px | The code viewer is shown up to this height. |
#Related
Branch or a folder entry I expect is missing from the picker
Only the first 100 branches are listed.
Just added a GitHub macro but the page does not appear in search or in the Capable → Github catalogu
Why a new GitHub macro may not show in search straight away.
Something is missing or looks wrong
The rest of this family.
Found it? Good.
